|
|
back to boardtest 4 I did some research and I'm sure I've got the correct algorithm. But i get WA on test 4. I'm thinking it could be something with the way I print the numbers (new lines and such). Could anyone please tell me what is N on test 4? Re: test 4 Check it yourself)) Smth like if (n > 50) while (1); Re: test 4 write brute force program and you will find your mistake Re: test 4 Thanks, that was a nice trick i hadn't thought of before :) Re: test 4 I think it's rather usefull trick)) |
|
|