|
|
back to boardWeak tests Test 3: arc of fire is 0 degrees. So arc of fire 0 degrees is pretty legal. But! I know many AC solutions that think that when arc of fire 0 degrees gnusmasses in _opposite_ direction will be killed. Test 100 1 0 1 0 1 -1 0 YES is wrong answer. I suggest to remove test with arc of fire 0 degrees and to write in statement that arc of fire strictly greater than 0. And add to timus problemset problem "Good Gnusmas – Dead Gnusmas. Version 2" without any limitations on size of arc of fire i.e. with limitation [0; 360) degrees. Arc greater than 180 degrees can be defined quite well because we know that first range is left and the second is right. Edited by author 19.01.2009 12:29 Re: Weak tests Yes, 0 degrees arc is legal in this problem. We added tests with the same idea as your test. Thank you. Edited by author 20.01.2009 03:29 |
|
|