Codeforces is showing me TLE on input 1,7. I dont know why. Can anybody help me problem link:- https://codeforces.me/contest/1266/problem/C In the ide it is showing correct output
Codeforces is showing me TLE on input 1,7. I dont know why. Can anybody help me problem link:- https://codeforces.me/contest/1266/problem/C In the ide it is showing correct output
Instead of line 18 and 19 , try memset(mat,0,sizeof mat);