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

Автор HekpoMaH, 13 лет назад, По-английски

Recently I attended YANDEX qualification round and i solved 2 problems. When the solution came out, i realized that there is no tutorial, so i didn't manage to understand problem C by just viewing the source. Can you explain this task particularly and probebly some other too? A LOT OF THANKS!!!

UPD. What about the rest of the tasks. Can you give any hints?

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

»
13 лет назад, скрыть # |
 
Проголосовать: нравится +7 Проголосовать: не нравится

you have to count the number of winning moves in the game of Nim, it is well known problem http://en.wikipedia.org/wiki/Nim