Problem 001

A place to air possible concerns or difficulties in understanding ProjectEuler problems. This forum is not meant to publish solutions. This forum is NOT meant to discuss solution methods or giving hints how a problem can be solved.
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.

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


See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
Post Reply
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 001

Post by hk »

You couldn't have explained it clearer.
Image
War ruins the life and health of untold numbers of innocent children.
agrubner
Posts: 8
Joined: Fri Feb 17, 2012 12:19 pm

Re: Problem 001

Post by agrubner »

Dear hk

Sorry for asking again... . I did now with the calculation (add the subsums and subtract the duplicate sum) and entered that to the website with the question. I still have not a correct result and I do not know why. The value for <35 was correct - can you give me another checkpoint, where you can say, that this value is correct please?

The other question is, how can I post a value? It is recommended not to publish code or results because of others doing the same. I agree to that, but how can I come closer to the solution. I need your check. When I add an attachment - is it free for all forum users?

Thanks again.
Cheers
Alex

ADDENDUM:
I managed to resolve it and I have done my first question! Now, I will move to the second question! Thanks for your help, will write again, when I have other questions.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 001

Post by hk »

You could PM me your values for sum1,sum2 and sum3 if you see what I mean.
I hope to be able to find out from these three values what went wrong.

Edit:
Congratz.
Image
War ruins the life and health of untold numbers of innocent children.
aur
Posts: 1
Joined: Sun Mar 04, 2012 9:03 pm

Re: Problem 001

Post by aur »

I'm very new in the project Euler's society
when trying to submit the answer , should I submit the answer directly (i.e: 123) or submit the code ?
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 001

Post by hk »

The answer
Image
War ruins the life and health of untold numbers of innocent children.
xcasper
Posts: 2
Joined: Thu Jun 14, 2012 12:13 am

Re: Problem 001

Post by xcasper »

So I have just joined project euler and I am stuck on problem #1 :(

I honestly am not sure what I am doing wrong and I have tried it multiple ways. I am sure its something basic.

I have already accounted for the 3 and the 5 multiples being the same and not counting those twice.

I know I cant post code so I am a bit lost as to how to ask for help with this as I do not have a particular problem. I am just stumped from my current position and not sure what exactly to try/do next.


I cant seem to delete this post, I will just edit it....

I Figured out the problem, nvm on needing help.
Last edited by xcasper on Thu Jun 14, 2012 12:23 am, edited 1 time in total.
TripleM
Posts: 384
Joined: Fri Sep 12, 2008 3:31 am

Re: Problem 001

Post by TripleM »

Feel free to PM me your code.
xcasper
Posts: 2
Joined: Thu Jun 14, 2012 12:13 am

Re: Problem 001

Post by xcasper »

TripleM wrote:Feel free to PM me your code.
thank you for the offer but I figured it out right before I saw your post.
yasar
Posts: 3
Joined: Tue Jul 17, 2012 3:54 pm

Re: Problem 001

Post by yasar »

hello all , ok so im new to programming in c++ and i have recently joined euler which was recomended to me

so far i have tried different ways of going about to solve this problem but none of the answers i come up with is right can any1 help me if i pm themmy code u can give me pointers to the right direction thnx :)
mdean
Posts: 206
Joined: Tue Aug 02, 2011 2:05 am

Re: Problem 001

Post by mdean »

I can take a look if you want.
Image
Fingolfin
Posts: 2
Joined: Sat Sep 08, 2012 3:25 pm

Re: Problem 001

Post by Fingolfin »

[Edited by myself]

This problem can be solved using knowlege in arithmetic series.
Last edited by Fingolfin on Sat Sep 08, 2012 11:51 pm, edited 2 times in total.
User avatar
hk
Administrator
Posts: 12832
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 001

Post by hk »

995/5=199 and not 195.

Before you start giving detailed explanations for every problem you encounter, please read the box at the top of the page.
The idea is that you don't give spoilers here.
Image
War ruins the life and health of untold numbers of innocent children.
Fingolfin
Posts: 2
Joined: Sat Sep 08, 2012 3:25 pm

Re: Problem 001

Post by Fingolfin »

Sorry, this will not happen anymore. :(

I edited the post.
sam97
Posts: 1
Joined: Mon Jan 07, 2013 4:10 pm

Re: Problem 001

Post by sam97 »

Hi! I am guessing this is where I post my problems. I am just 3 hours new to projecteuler.com. I tried the first problem in python but my answer is not being accepted. I did it by both code and paper and they seem to be right. I have the code ready. Can anyone help me in this matter?
pieppiep
Posts: 23
Joined: Thu Dec 30, 2010 6:23 am

Re: Problem 001

Post by pieppiep »

If you send me your code in a pm I can look at it and give a hint.
Image
mdean
Posts: 206
Joined: Tue Aug 02, 2011 2:05 am

Re: Problem 001

Post by mdean »

sam97 wrote:Hi! I am guessing this is where I post my problems. I am just 3 hours new to projecteuler.com. I tried the first problem in python but my answer is not being accepted. I did it by both code and paper and they seem to be right. I have the code ready. Can anyone help me in this matter?
Here's a possibility. Are you sure you're answering the question that's being asked? Reread the problem and the rest of this thread.
Image
tulip
Posts: 2
Joined: Wed Jul 09, 2014 2:56 pm

Problem 001

Post by tulip »

Hi,

I think result checking for Problem 1 doesn't work correct. Could someone confirm this please?
User avatar
jaap
Posts: 588
Joined: Tue Mar 25, 2008 3:57 pm
Contact:

Re: Problem 001

Post by jaap »

The answer checking works correctly.
There is already a thread for this problem where you will likely find clues as to why your answer was wrong:
viewtopic.php?f=50&t=2524
tulip
Posts: 2
Joined: Wed Jul 09, 2014 2:56 pm

Re: Problem 001

Post by tulip »

Thank you very much! I've found my mistake.
Bubbler
Posts: 28
Joined: Sat Feb 23, 2013 6:12 am

Re: Problem 001

Post by Bubbler »

Please DO NOT post any solutions here.
Read this:viewtopic.php?f=50&t=1989
Image
Post Reply