Rohit and friends
CodeChefOpen on judge ↗
The semester marks for the odd semester are out and Rohit is worried about his friends' marks. He has the results sheet with him and also the various ID's of his friends. There are three subjects in his college, Physics, Maths and Chemistry with subject codes 0, 1 and 2 respectively. Print the marks obtained by his friend if he passed the exam or FAIL if he did not. Rohit may have remembered a w
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start