Why am I getting WA? (DOR)

solution link https://www.codechef.com/viewsolution/27537855

problem link https://www.codechef.com/COOK111B/problems/DOR

Please either format your code or link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

Also - what Problem are you trying to solve? XD

i have updated my query please answer

1 Like