code exceeding time limit despite having admissible time complexity theoretically.

Правка en4, от VaishCodes, 2025-04-12 23:26:07

problem statement: https://codeforces.me/problemset/problem/1977/B

my submission: https://codeforces.me/contest/1977/submission/315209972

there is no nesting in any loop, and any loop runs atmost 32 times, why is my code exceeding time limit of 1 second??

Теги 1100, gnu c11, time limit exceeded

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский VaishCodes 2025-04-12 23:26:07 0 (published)
en3 Английский VaishCodes 2025-04-12 23:14:56 1474
en2 Английский VaishCodes 2025-04-12 23:12:26 18 (saved to drafts)
en1 Английский VaishCodes 2025-04-12 20:59:00 1795 Initial revision (published)