|
|
back to boardI don't understand what's wrong . I checked this program for all sequences n<= and it worked properly. I don't see any reasons why it shouldn't work with another n. [code deleted] Edited by moderator 13.02.2007 20:54 Re: I found my mistake!!! I have approximately the same solution And I'm having WA6 What can be wrong? [code deleted] Edited by author 05.02.2007 03:03 Edited by moderator 13.02.2007 20:54 Re: I found my mistake!!! Finally found out the problem. When you solve this problem take a look to overflows! Re: I found my mistake!!! Finally found out the problem. When you solve this problem take a look to overflows! I don't understand what overflow we can have. For N=43 the number of different sequences is equal to 1,134,903,170 (fits to int32). |
|
|