Problem 53980. Determine whether a player solved a Cody problem

Write a function to determine whether a player has solved the specified Cody problems. The problem numbers are specified as a vector, and the player names are specified either as a character vector for a single name or a cell array of character vectors for multiple names. Because some names are not unique, the player IDs are included as well. Return 1 if the player solved the problem, 0 if the player did not solve the problem, and -1 if the problem does not exist. If there are m players and n problems, the first output should be an mxn matrix. The second output should be a cell array of the problem titles.
I plan to check the tests regularly as players solve more problems. If you spot a problem, please feel free to contact me through my profile page.

Solution Stats

9.68% Correct | 90.32% Incorrect
Last Solution submitted on Dec 10, 2022

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers3

Suggested Problems

More from this Author281

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!