|
|
back to boardSome tests Posted by NickC8 16 Nov 2013 02:53 I'm getting WA#4, can you give some tests? Re: Some tests 1 1 1 King: 0 Knight: 0 Bishop: 0 Rook: 0 Queen: 0 2 2 2 King: 3 Knight: 0 Bishop: 1 Rook: 2 Queen: 3 100000000 99999999 100000000 King: 5 Knight: 3 Bishop: 99999999 Rook: 199999998 Queen: 299999997 98765432 10987654 32109876 King: 8 Knight: 8 Bishop: 120740737 Rook: 197530862 Queen: 318271599 Re: Some tests Posted by NickC8 16 Nov 2013 03:48 Thank you, remembered about cases when n<4 until your post. Got AC! Have you used predefined output for these (n<4) cases? Edited by author 16.11.2013 03:51 Re: Some tests No, well designed algo equally works for all possible cases |
|
|