Bank Cooperation
CodeChefOpen on judge ↗
The ‘Money Heists’ have robbed gold bars from 8 banks. But soon the professor finds out that, to trap them, a few banks have started cooperating. The banks have embedded a special kind of detector into the gold bar such that if gold from their bank is placed inside the same container as that of the co-operating bank, the police will be alerted. Since no one wants the ‘Money Heists’ to be caught y
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