[Solution] High Accuracy CodeChef Solution
There are questions in a paper. Each question carries +3
marks for correct answer, -1
marks for incorrect answer and 0
marks for unattempted question.
It is given that Chef received exactly marks. Determine the minimum number of problems Chef marked incorrect.
👇👇👇👇👇
Input Format
- First line will contain , number of test cases. Then the test cases follow.
Enough Space CodeChef Solution
Chef Drinks Tea CodeChef Solution
High Accuracy CodeChef Solution
Xor Permutation CodeChef Solution
- Each testcase contains of a single integer , marks that Chef received.
Output Format
For each test case, output the minimum number of problems Chef marked incorrect.
No comments:
Post a Comment