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

Автор Dannypa, история, 3 года назад, По-русски

Hello codeforces, I' written pretty much the same thing in editorial comments but no one replied, so i duplicate it here:

In 1543D2 - RPD and Rap Sheet (Hard Version) problem of Codeforces Round 730 (Div. 2) I experienced something strange. On my machine, the answer was printed, but in system I got WA. Here's my solution: 121640373. System said that on test 5 3 with start password 1 I tried five times and haven't guessed it, but when I was testing locally my program did. Can anyone please tell me why did it happen? Sorry for bad English:)

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

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thanks to kind man in technocup chat, problem solved, I thought that a xor b = z means that b equals z xor a. And now if i think of it, this was mentioned in the editorial, so sorry for stupid question:)