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

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

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

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

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

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

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.

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

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