C - Servant Sword Trials
CodeChefOpen on judge ↗
SwapuSahu is busy playing The Legend Of Adlez : Breath of the Domestic. In this game he's going to play through $K$ levels and reach the end. The first level of the game has $N$ monsters and then in each successive level , the monsters from the previous level will respawn and also a new monster will be added by the game. The initial $N$ monsters (numbered from $1$ to $N$) have health $A_1$ to $A
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