Columbus and Power Arrows
CodeChefOpen on judge ↗
Now, After killing the zombie our heroes are going further towards their home. Meanwhile going to the home they had found $N$ arrows. The power of those arrows is given to them in the form $a[1], a[2], ……, a[N]$. And they are carrying a dairy in which m pairs of powers are written they call it victorious pairs of power. It is written in the form of $(i_1, j_1), (i_2, j_2), ..., (i_m, j _m)$. Eac
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