← All problemsSign in

A B Marks

There is an exam in which a correct answer given you $4$ marks while a wrong answer gives you $-1$ mark. You are given the number of questions that Alice and Bob answered correctly, as well as the number of problems they answered wrongly. Your task is to find who among Alice and Bob got higher marks. If both of them got the same marks, print $Tie$. ### Input - Each line will contain four integ

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