BUGCAL error please help

error is given in answer my answerhttps://www.codechef.com/viewsolution/16002493

Hey @tutejahimanshu

Your code fails at this testcase. Try debugging it and you will get to know the mistake.

1 Like

test case
3

90000 90000

123 1

123 12

your output

8

133

243

correct output

80000

124

135

1 Like