WA in "Qualifying to Pre-Elimination" (QUALPREL)

https://www.codechef.com/viewsolution/33563116

please guys tell me the case where my program is wrong as for all the example input my output is correct.

did you try debugging your code?
i can’t help you much with C++14

2 Likes

Hi,
this is my solution

Please like