Precise Bipartite Pairing
**This is the easier version of the problem PRECPAIR.** **ATTEN-SHUN!** Time for the squad to line up for inspection in the barracks. Your soldiers should form two lines of equal length, one on each side of the room. The lineup should create pairs of soldiers who can see each other, i.e. each soldier A should be looking directly at another soldier B, who is in turn looking at A. Today is a s
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