Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Shayan.To's blog

By Shayan.To, history, 9 years ago, In English

Hi. Can anyone tell me why i get time limit in this problem? I use Dijkstra like some other accepted codes. my submission -> 11774583

  • Vote: I like it
  • +5
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +1 Vote: I do not like it

I added ios_base :: sync_with_stdio(false) and now it gets WA on test 10. Here's your code