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

Автор VaishCodes, история, 17 месяцев назад, По-английски

problem statement: https://codeforces.me/contest/1886/problem/B

my entry: https://codeforces.me/contest/1886/submission/323127501

passed the 1st test case in vs code, printing correct output in vs code but output in code forces is either -0.000... or 0.000.... how can i avoid this?

Полный текст и комментарии »

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

Автор VaishCodes, история, 19 месяцев назад, По-английски

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??

Полный текст и комментарии »

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