VIIIIIIVX's blog

By VIIIIIIVX, history, 7 years ago, In English

Hi. My submission for 734D - Anton and Chess got WA in test 19 in the contest. My submission in contest: 22243153 But today when I submit again that code it got AC. 22283030 What happend? Can you help me??

I just want to know what is between two code. Difference is just //. =/

UPD: Finally I found where is my mistake. I make an array in int main() function and It has some values from the beginning and I did not check them.

:/

Thank you very much. =D

Full text and comments »

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

By VIIIIIIVX, history, 8 years ago, In English

Hi everyone!

Some days ago, I confronted to a hard problem and I could not solve it. Can you help me?

The problem was: Given a and n(1 <= a, n <= 1000). And b = (a ^ a) ^ (a ^ a). And return b mod n.

Full text and comments »

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