GUPTA MECHANICAL

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

Sunday 19 June 2022

[Solution] Determine the Score CodeChef Solution | CodeChef Problem Solution 2022


Chef appeared for a placement test.

There is a problem worth X points. Chef finds out that the problem has exactly 10 test cases. It is known that each test case is worth the same number of points.

Chef passes N test cases among them. Determine the score Chef will get.

Solution Click Below:-  CLICK HERE

NOTE: See sample explanation for more clarity.

Input Format

  • First line will contain T, number of test cases. Then the test cases follow.
  • Each test case contains of a single line of input, two integers X and N, the total points for the








  •  problem and the number of test cases which pass for Chef's solution.

Output Format

For each test case, output the points scored by Chef.

No comments:

Post a Comment