← All problemsSign in

K0KALARU47 and CP task

CodeChefRating 3378Open on judge ↗

*in every century, there is a chosen one. Therefore, we do not live in a society --Last paragraphs of the IZhO 2022 Editorial* *K0Kalaru47 was out with his friends and he started to tell them about a CP Task. Because the statement was informal, his friends quickly parried with "Who Asked", so here is the formal statement:* Given arrays $P$ and $C$ of size $(N+K)$ each, the *beauty* of an array

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start