← All problemsSign in

Peter Parker and his Tests

Now that Spider-Man has defeated Electro, he needs to reach home and study for his upcoming tests. He has taken up science as his major and has the test of Physics, Chemistry and Mathematics lined up. Peter has always been giving equal time to all three subjects since he wanted to score equal marks in all three. You are given three arrays (Physics, Chemistry, Maths) indicating the weightage of $N

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