← All problemsSign in

Miu meets Chef

Chef is trying out a new pizza recipe he came up with recently. And all of a sudden, Miu shows up with a sequence $S$ of $N$ integers. She doesn’t know the exact values of these integers, but does know whether they are even or odd. Now she has $Q$ queries, each query is of the type:- - 1 $L$ $R$ - 2 $L$ $R$ Where, for query type 1, Miu is asking whether the **summation** of the 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.

voice by Sarvam AI

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

Sign in to start