Problem 009
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: PROBLEM 9
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.
You have found the triple, so if you input the number the problem asks for it should be accepted.
-
craigcussler
- Posts: 4
- Joined: Sun Nov 07, 2010 5:26 pm
Re: PROBLEM 9
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 .
I've removed the code and the answer, I'm sorry but i didn't know I couldn't write it .
- hk
- Administrator
- Posts: 12832
- Joined: Sun Mar 26, 2006 10:34 am
- Location: Haren, Netherlands
Re: PROBLEM 9
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.
@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.

War ruins the life and health of untold numbers of innocent children.
-
elizool99
- Posts: 2
- Joined: Mon Nov 29, 2010 6:55 pm
Problem 009
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
Last edited by elizool99 on Mon Nov 29, 2010 7:33 pm, edited 1 time in total.
-
wrongrook
- Posts: 745
- Joined: Sat Oct 17, 2009 10:39 pm
Re: Problem 9, Whats wrong with my code?
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)
(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)
-
elizool99
- Posts: 2
- Joined: Mon Nov 29, 2010 6:55 pm
-
Darren_Zeng
- Posts: 5
- Joined: Wed Feb 16, 2011 9:32 am
Re: Problem 009
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!
Who can I tell me how to do? Thanks!
Last edited by euler on Wed Feb 16, 2011 1:38 pm, edited 2 times in total.
Reason: To remove spoiler
Reason: To remove spoiler
- Jochen_P
- Posts: 55
- Joined: Mon Oct 05, 2009 10:47 am
- Location: Stuttgart, Germany
Re: Problem 009
@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..
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..

-
Darren_Zeng
- Posts: 5
- Joined: Wed Feb 16, 2011 9:32 am
Re: Problem 009
I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.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..
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: Problem 009
You need to type in the product of them, the three numbers multiplied together, a times b times c.Darren_Zeng wrote:I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.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..
-
Darren_Zeng
- Posts: 5
- Joined: Wed Feb 16, 2011 9:32 am
Re: Problem 009
I know it. Thank you very much!jaap wrote:You need to type in the product of them, the three numbers multiplied together, a times b times c.Darren_Zeng wrote:I had submited the result of a*b*c as answer,but it's also wrong.Please tell me why? Thanks.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..
-
swartzism
- Posts: 2
- Joined: Tue Apr 05, 2011 3:17 pm
-
Hibernatus34
- Posts: 31
- Joined: Mon May 16, 2011 7:03 am
-
PMart
- Posts: 2
- Joined: Fri Aug 09, 2013 4:46 pm
Question 9
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
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
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
-
PMart
- Posts: 2
- Joined: Fri Aug 09, 2013 4:46 pm
Question 9 spoiler
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
Regards
PMart
- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 009
@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.
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.
When you assume something, you risk being wrong half the time.
-
pcworx
- Posts: 6
- Joined: Wed Nov 27, 2013 3:52 pm
Re: Problem 009
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
Thanks,
Dan
-
pimspelier
- Posts: 41
- Joined: Tue Jan 21, 2014 2:06 pm
- Location: The Netherlands

Joined PE in May 2011
