Happy Or Sad
CodeChefOpen on judge ↗
Rohit is really good in studies but just scoring good marks doesn't make him happy. If he score good marks, then he start comparing his marks with some of his classmates sitting consecutively and If he gets marks strictly greater than highest marks among them then he become happy otherwise he becomes sad. He consider his marks as good if he scores more than 60. Input : - You are given total nu
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