Page 2 of 4
Re: PROBLEM 9
Posted: Thu Nov 11, 2010 11:58 am
by jaap
Please remove the code and the answer from your post.
You have found the triple, so if you input the number the problem asks for it should be accepted.
Re: PROBLEM 9
Posted: Thu Nov 11, 2010 12:06 pm
by craigcussler
thanks, I've solved the problem.
I've removed the code and the answer, I'm sorry but i didn't know I couldn't write it .
Re: PROBLEM 9
Posted: Thu Nov 11, 2010 12:16 pm
by hk
Thanks for reporting jaap.
@craigcussler:
Please read the forum rules and the topics mentioned there.
In particular: don't start a new topic for a problem if there exists one already, Topic subject should be Problem xxx, don't post any spoilers or sourcecode. You've violated all three of them.
Problem 009
Posted: Mon Nov 29, 2010 6:57 pm
by elizool99
I chcecked it and it seems to work fine it takes 1 as A then B is a + 1 so a and b are all the combinations that can be then c equals to them and there is a check with if SQRT of c
Re: Problem 9, Whats wrong with my code?
Posted: Mon Nov 29, 2010 7:18 pm
by wrongrook
Your test for a+b+c==1000 should be inside the loop over b.
(By the way, you should probably edit your post to remove the code as you aren't meant to post code fragments here in order to avoid spoiling the problem for others)
Re: Problem 9, Whats wrong with my code?
Posted: Mon Nov 29, 2010 7:32 pm
by elizool99
Yea you was right thank you.
Re: Problem 009
Posted: Wed Feb 16, 2011 10:15 am
by Darren_Zeng
I get the answer of this problem,which are a=_,b=_,c=_. But I don't know how to submit this answer. when I submited the answer like _*_*_,received a wrong answer also.
Who can I tell me how to do? Thanks!
Re: Problem 009
Posted: Wed Feb 16, 2011 11:27 am
by Jochen_P
@Darren,
try to submit the result of a*b*c as answer..
Oh, and please remove the values of a,b and c from your post as these are the correct ones.. don't spoil the fun for others..
Re: Problem 009
Posted: Wed Feb 16, 2011 2:33 pm
by Darren_Zeng
Jochen_P wrote:@Darren,
try to submit the result of a*b*c as answer..
Oh, and please remove the values of a,b and c from your post as these are the correct ones.. don't spoil the fun for others..
I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.
Re: Problem 009
Posted: Wed Feb 16, 2011 6:49 pm
by jaap
Darren_Zeng wrote:Jochen_P wrote:@Darren,
try to submit the result of a*b*c as answer..
Oh, and please remove the values of a,b and c from your post as these are the correct ones.. don't spoil the fun for others..
I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.
You need to type in the product of them, the three numbers multiplied together, a times b times c.
Re: Problem 009
Posted: Thu Feb 17, 2011 1:50 am
by Darren_Zeng
jaap wrote:Darren_Zeng wrote:Jochen_P wrote:@Darren,
try to submit the result of a*b*c as answer..
Oh, and please remove the values of a,b and c from your post as these are the correct ones.. don't spoil the fun for others..
I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.
You need to type in the product of them, the three numbers multiplied together, a times b times c.
I know it. Thank you very much!
Re: Problem 009
Posted: Tue May 24, 2011 4:32 pm
by swartzism
My sum is up to over 35 billion and still running. Is that too big?
Re: Problem 009
Posted: Tue May 24, 2011 5:16 pm
by Hibernatus34
Edit : Er, wait a minute... what sum are you talking about ?
Question 9
Posted: Fri Aug 09, 2013 4:55 pm
by PMart
Hi, I just started yesterday on this site and am not sure how to enter the answer for question 9.
I tried a+b+c
a + b + c
a b c
a < b < c
I'm pretty sure I have the right answer, however, I get an incorrect everytime.
Can anyone illuminate me on the pattern to use.
Regards
Pierre Martin
Re: Question 9
Posted: Fri Aug 09, 2013 5:02 pm
by jaap
The last sentence of the problem statement says:
Find the product abc.
Question 9 spoiler
Posted: Fri Aug 09, 2013 6:44 pm
by PMart
Hi, when I posted for help on question 9, I had missed the last part on this question. However, I was careful to only use variables referenced in the question and not numbers. My intent was not to spoil the question and I will be more diligent in future posts.
Regards
PMart
Re: Problem 009
Posted: Mon Aug 12, 2013 4:48 am
by rayfil
@Pierre
We realize you are new to this forum. For your info, problem numbers under 100 are padded with leading 0's to make them 3-digit numbers for several reasons. You would have found the answer to your question by looking in the proper topic. Your posts have thus been transferred where they belong.
Re: Problem 009
Posted: Sat Jan 04, 2014 8:25 am
by pcworx
Hope I am not giving too much away here...but in my algorithm I should check for a^2 + b^2 = c^2 and if a + b + c is == 1000 ?
Thanks,
Dan
Re: Problem 009
Posted: Sat Jan 04, 2014 2:07 pm
by LarryBlake
Yes, that is correct.
Re: Problem 009
Posted: Fri Jan 31, 2014 5:03 pm
by pimspelier
Should the triplet be coprime?