Pass em all!
CodeChefOpen on judge ↗
The institute has adapted "two grades only" policy i.e. a student can get only 'P' meaning "pass" or 'F' meaning "fail" grade. The grades are ready and results are about to be declared. But suddenly there is a good news. You are selected as Students' Representative and you will be allowed to change the grades but with some rules. There are N students in the institute. You are given a string A of
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