Ahs_58's blog

By Ahs_58, history, 6 years ago, In English

http://mirror.codeforces.com/contest/977/submission/38702974 why this solution is taken more time and less memory then

http://mirror.codeforces.com/contest/977/submission/38702053

this solution??

Problem link Here

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

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

Well submitting even the same codes will yield different results because your exact running time and memory usage depend on the server and how loaded it is and a lot of other factors. So it isn't accurate to compare so similar codes based on only two submissions. I suppose if you made more submissions the differences would even out or maybe even the first code would have a slight advantage.

»
6 years ago, # |
Rev. 2   Vote: I like it +20 Vote: I do not like it

Someone please explain about running time for my solution.

someone??? Why me ?