Bera's blog

By Bera, history, 9 years ago, In English

I got wrong answer with this solution:

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

And i got accepted with this solution:

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

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

Full text and comments »

  • Vote: I like it
  • +13
  • Vote: I do not like it

By Bera, 9 years ago, In English

I used bitwise operators and normal operators for 319E - Пинг-Понг. 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?

Full text and comments »

  • Vote: I like it
  • +44
  • Vote: I do not like it