WA in INOI1901

My code : https://pastebin.com/xG5jTvxy
Problem : https://www.codechef.com/INOIPRAC/problems/INOI1901

Can someone pls give me a testcase ( preferably N,M <=10) where this fails ??
@ssjgz

Thanks ! :slight_smile:

1 Like