Easy Hard Selection
CodeChefOpen on judge ↗
When preparing a tournament, contest organizers try their best to make the problem as easy as possible. This time the organizers had chosen some problems and asked $n$ people about their opinions. Each person answered whether this problem is easy or hard. If at least one of these $n$ people has answered that the problem is hard, the coordinator decides to change the problem. For the given respons
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