Call of Soldiers 3
CodeChefOpen on judge ↗
Yash and Satyajit are excited to introduce a new computer battle game Call of Soldiers 3.0 in the gaming event of Prajwalit 2018. The game has (m + 1) players and n types of soldiers in total. Players in Call of Soldiers 3.0 are numbered from 1 to (m + 1). Types of soldiers are numbered from 0 to (n - 1). Each player has an army. Army of the i-th player can be described by non-negative integer
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