Black Money Island
CodeChefOpen on judge ↗
The Royal Bank of Black Money Island wants to construct ATMs so that the citizens can withdraw black money easily for their day-to-day needs. The capital city can be represented as a number of checkpoints connected by a network of roadways, each of which have ATMs present on them. The capital has somewhat equal distribution of ATMs on the roads. Each roadway has either A ATMs or A + 1 ATMs present
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