Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

Блог пользователя Ahs_58

Автор Ahs_58, история, 6 лет назад, По-английски

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

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

this solution??

Problem link Here

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
6 лет назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

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 лет назад, # |
Rev. 2   Проголосовать: нравится +20 Проголосовать: не нравится

Someone please explain about running time for my solution.

someone??? Why me ?