Inspection
CodeChefOpen on judge ↗
Introduction The General frowned, looking at his calendar. He knew that the inspections in military units – stationing in critical sites of the galaxy – may be carried out only by him and Colonel Kretschmer. Visiting all the sites would not be feasible, but still the commander has an ambitious plan to handle inspections in the greatest possible number of units. Problem The inspection in the uni
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