Eren and Reiner
CodeChefOpen on judge ↗
$Eren$ and $Reiner$ are fighting, $Eren$ is fighting to save humanity and $Reiner$ is against that. You are given two integers **A** and **B**, where **A** describes the power $Eren$ has and **B** describes the power of $Reiner$. You have to tell who will win or it is a tie. $Eren$ wins if he has more power than $Reiner$ or vice versa, there is **tie** if both have same amount of power. ### In
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