Find All Numbers...

Announcements, comments, ideas, feedback, and "How do I... ?" questions
Post Reply
elr
Posts: 67
Joined: Thu Apr 09, 2009 9:47 am

Find All Numbers...

Post 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
User avatar
Tommy137
Posts: 238
Joined: Sun Feb 24, 2008 6:02 pm
Location: Cologne, Germany
Contact:

Re: Find All Numbers...

Post by Tommy137 »

For Problem 30 (View Problem) you should try to find an upper bound by yourself. It's not that hard.
Image
User avatar
Georg
Posts: 157
Joined: Mon Jan 21, 2008 7:00 am
Location: Mannheim, Germany
Contact:

Re: Find All Numbers...

Post 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.
elr
Posts: 67
Joined: Thu Apr 09, 2009 9:47 am

Re: Find All Numbers...

Post 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
Image
Post Reply