Harshit, the Proxy Master!
CodeChefOpen on judge ↗
Harshit and Navdeep are bestfriends and roommates too! As we know that harshit is extremely famous for his proxy skills. One fine day, Navdeep decided to bunk his Android Development lecture and asked Harshit to mark his proxy if he will attend the lecture! Harshit told him that he will mark his proxy if and only if he will help him solve this problem. You are given an array of size N and Q queri
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