anshjain18's blog

By anshjain18, history, 4 years ago, In English

https://ideone.com/dgdtaW

Codeforces is showing me TLE on input 1,7. I dont know why. Can anybody help me problem link:- https://codeforces.com/contest/1266/problem/C In the ide it is showing correct output

  • Vote: I like it
  • -16
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Instead of line 18 and 19 , try memset(mat,0,sizeof mat);