Plus Minus
CodeChefOpen on judge ↗
Today Jamshed learned about the plus and minus signs in Maths. So in curiosity of exploring the operations on plus and minus signs he created a question and became sad when he was unable to solve it. You, being best friends with Jamshed, want to make him happy. Jamshed becomes happy only if the question is solved. So you decide to solve the question. You are given an array of length n and two int
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