GUPTA MECHANICAL

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

Friday 8 July 2022

[Solution] Pass the Exam CodeChef Solution | Problem Solution 2022


Chef appeared for an exam consisting of 3 sections. Each section is worth 100 marks.

Chef scored A marks in Section 1B marks in section 2, and C marks in section 3.

Chef passes the exam if both of the following conditions satisfy:

  • Total score of Chef is 100;
  • Score of each section 10.

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


Determine whether Chef passes the exam or not.

Input Format

  • The first line of input will contain a single integer T, denoting the number of test cases.
  • Each test case consists of a single line containing 3 space-separated numbers A,B,C - Chef's score in each of the sections.

Output Format

For each test case, output PASS if Chef passes the exam, FAIL otherwise.

Bidding CodeChef Solution 

Pass the Exam CodeChef Solution

Chef and Candies CodeChef Solution

Journey of the Knight CodeChef Solution

Slow Solution CodeChef Solution 

Game of Piles Version 1 CodeChef Solution

Find A, B, C CodeChef Solution

Largest Square in the garden CodeChef Solution

Game of Piles Version 2 CodeChef Solution


Note that the output is case-insensitive i.e. PASSPasspAsS, and pass are all considered same.

Constraints

  • 1T1000

No comments:

Post a Comment