Dock Ock Revenge
CodeChefOpen on judge ↗
Norman Osborn is running for Mayor's Election of New York City. Doc Ock wants to ruin his campaign by leaking evidence of Oscorp's illegal human trials. The evidence is in the form of an array of size $N$. Doc Ock is coming after Norman, so Norman corrupts the evidence in the following way: - Choose an arbitrary integer $x$ (0 $\leq$ $x$ $\leq$ $N$) - Choose $x$ subarrays such that they are pairw
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