GUPTA MECHANICAL

IN THIS WEBSITE I CAN TELL ALL ABOUT TECH. TIPS AND TRICKS APP REVIEWS AND UNBOXINGS ALSO TECH. NEWS .............

Sunday 3 July 2022

[Solution] High Accuracy CodeChef Solution


There are 100 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 X (0X100) marks. Determine the minimum number of problems Chef marked incorrect.

Solution Click Below:-  👉CLICK HERE👈
👇👇👇👇👇

Input Format

  • First line will contain T, number of test cases. Then the test cases follow.

  • Each testcase contains of a single integer X, marks that Chef received.

Output Format

For each test case, output the minimum number of problems Chef marked incorrect.

Constraints

  • 1T100

No comments:

Post a Comment