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

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

I wanted to understand why this submission https://codeforces.net/contest/1538/submission/296235176 is getting a time limit exceeded while this one https://codeforces.net/contest/1538/submission/296121430 is accepted when both are literally the same algorithms and also applied in the same way. There is hardly any difference between the two.

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

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

Removing #define int long long fixes it! Here's the submission.