|
|
back to boardCan you give me any hint or any tests? Thanks in advance. I also WA5. When I consider K > 1000, I got AC. The graph is directed i.e. 8 is connected to 5 but 5 is not connected to 8. So that means if the input is 1 8 5 8 5 6 then the answer will be impossible. Edited by author 30.11.2010 02:14 |
|
|