HAIL ACM
CodeChefOpen on judge ↗
Club Induction for 2K19 batch is going on and ACM claimed itself to be the most elite club of BIT while other clubs didn't agree with the statement. So they came up with this problem and said they would start chanting "Hail ACM" if ACM solves the problem in no more than 5 minutes. ACM took less than half of a minute to solve this problem. Now it's your turn, Can you do the same? You are given an
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