Page 1 of 1

Find All Numbers...

Posted: Thu Apr 09, 2009 9:52 am
by elr
how do i know that i actualy founded all numbers in that kind of problems ?
when i do not have upper bound for the search ?

for example at problem 30 ,i now running infinite loop which search for more & more
numbers,i manage to find a 6 digits sum begining with 3 however the site saying the answer
is wrong

Re: Find All Numbers...

Posted: Thu Apr 09, 2009 10:12 am
by Tommy137
For Problem 30 (View Problem) you should try to find an upper bound by yourself. It's not that hard.

Re: Find All Numbers...

Posted: Thu Apr 09, 2009 11:04 am
by Georg
elr wrote:[...] for example at problem 30 [...] i manage to find a 6 digits sum begining with 3 however the site saying the answer is wrong
Your program does not compute every number.

Re: Find All Numbers...

Posted: Thu Apr 09, 2009 2:37 pm
by elr
Georg wrote:
elr wrote:[...] for example at problem 30 [...] i manage to find a 6 digits sum begining with 3 however the site saying the answer is wrong
Your program does not compute every number.

heheh yes,stupid me for some reason i counted 0^5 as 1 :D

now its works and i solved it