|
|
back to boardI used Greedy and got AC.But I found that my algorithm isn't right for all case and the tests seem to be always have a solution. Is there somebody has a correct idea? Please write it down. Thanks! I think greedy is OK. Post here the tests it fails (-) |
|
|