Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

AceKing's blog

By AceKing, history, 5 weeks ago, In English,

I wrote linear solution of E. Johnny and Grandmaster82635074 but I got TLE. Can anyone explain why?

Edit: solved (just handle p = 1 case)

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

5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by AceKing (previous revision, new revision, compare).