|
|
вернуться в форумyou cand generate tests yourself and compare with a brute force algorithm... I mean some tricky tests. 0.568 sec My btute-force program gets WA3 by the way, some people have already solved this problem on java Edited by author 08.08.2007 21:11 I had WA3 when didn't look through all the powers of 10 (38 is the last one) for my prebuild table. Try these: 2 0 0 0 8 0 0 0 9 --> 0 2 0 0 0 4 0 0 0 12 --> 0 Another test: 2 0 0 0 10 0 0 0 0 --> 2 Edited by author 24.08.2011 00:31 2 0 0 0 0 4294967295 4294967295 4294967295 4294967295 --> 76 |
|
|