anshjain18's blog

By anshjain18, history, 5 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.me/contest/1266/problem/C In the ide it is showing correct output

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

»
5 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);