Make it Negative
CodeChefOpen on judge ↗
You are Given an array of size $N$. Followed by $N$ integers. You have to make every element of array Negative By Using Multiplication operation. You can perform Multiplication operation on any element with any integer for any number of time. After performing the operation Print "YES" Without quotes. if it is possible to make every element of array negative. else print "NO" without quotes. ### I
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