Bera's blog

By Bera, history, 4 years ago, In English,

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?

Read more »

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

By Bera, 4 years ago, In English,

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?

Read more »

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