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

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

I got wrong answer with this solution:

http://codeforces.com/contest/568/submission/12456152

And i got accepted with this solution:

http://codeforces.com/contest/568/submission/12456422

I think both of them should get accepted. Can someone help me?

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

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

Автор Bera, 9 лет назад, По-английски

I used bitwise operators and normal operators for 319E - Ping-Pong. The code which i used normal operators didn't get accepted because of memory limit.

The code which i used normal operators. 11337643

The code which i used bitwise operators. 11337611

Can someone please explain this to me?

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

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