|
|
back to boardOne little note It should be noted that problem statement doesn`t say that strings with numbers of friends for each friend is ordered - order of numbers can be random. And if algorithm wrong writed, it will be make problem (I have WA on test 9 many times, before i understood this) |
|
|