← All problemsSign in

Flying Squad

Examination has begun and the university has formed a team for keeping a check on cheating, formally called the Flying Squad. However, the number of classrooms are huge so the squad skips some classrooms and inspects the others There are 3 teams in the squad called A, B, C . All 3 teams will inspect every ath,bth,cth classrooms from 1 to N where N is the number of classrooms and a,b,c will be give

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start