Hey thanks for helping me , I am not getting why this code not getting accepted like there are just three cases and it is failing at 2071 test case {compiler message -> wrong answer 2071st numbers differ — expected: '45', found: '46'}
Please help me this are my submission and below is question link, 307205360,307211125
problem -> 2005B1 - The Strict Teacher (Easy Version)
you didn't check if te.first<te.second
yes bro thanks
Because it is not necessary for the second teacher to be ahead of the first teacher and you are basically assuming it is.
yes bro thanks