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

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

Hi, I can't find the reason my code doesn't pass test 3. After trying c++, I implemented the same code in python and it got TLE on test 9, so I'm clueless. Any help appreciated

B. Beautiful Contest

My code

EDIT: Thank you all for your help, I wrongly declared b as an int in the main function (C++ isn't my main language). I got it accepted now.

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

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