VAMSI AND JUSTICE LEAGUE
CodeChefOpen on judge ↗
Justice League went to Apokolips to kill Darkseid in order to save earth from future attack. In a fight, its required that the intensity of powers of both wonder women and superman match to provide a good result.Wonder woman starts with a minimum power 'W' and Superman with 'S'.Wonder woman can add fixed 'P' amount of power at one instance and Superman 'Q'.Vamsi is watching this and he predicts co
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