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

Alex-ander007's blog

By Alex-ander007, history, 9 years ago, In English

Hey everyone, I am a newbee to participating in contests. I have been solving problems from prev contests lately and something has been bothering me a lot.

Codeforces Roung #Pi, Problem A — Lineland Mail. I solved it and got a TLE, then I made some minor changes and got accepted with exec time of 62ms.

What is bothering me is that both the codes are same except for very minor changes, I have posted links to both the codes, please go through and tell me what I am missing. Thanks :)

Link for the TLE code — http://pastebin.com/jjRSEwVi Link for the Accepted code — http://pastebin.com/UtK4DQf1

Thanks a lot for your valuable time :)

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
9 years ago, # |
  Vote: I like it +6 Vote: I do not like it

There is no format specifier called "%Ld". Use "%I64d". Accepted