JOHN WICK RETURNS !!!
CodeChefOpen on judge ↗
American Intelligence Agency has received an intelligence input from its field agents about a security threat. So to tackle this, the agency decided to make a team of N agents and give each of them a weapon for this mission. John Wick, the legendary assassin, has also been roped in for this task. So there are N agents and N weapons numbered through 1 to N. The strength of each agent is W1, W2, ..
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