Who Makes P1
Tyro and Dom are fighting over who makes the first problem of the contest. Both of them are very lazy so they don't want to make it. Tyro has a patience level of $A$, meaning he will only be convinced on the $A^{th}$ time when Dom asks him to make the problem. Dom, on the other hand, has decided to convince Tyro **at most** $B$ times. If Tyro is not convinced by the $B^{th}$ time, Dom will proc
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