# PE - DIC Style

Page 1 of 1

## 5 Replies - 2524 Views - Last Post: 10 July 2012 - 12:22 PM

### #1 stackoverflow

Reputation: 166
• Posts: 545
• Joined: 06-July 11

# PE - DIC Style

Posted 09 July 2012 - 10:34 PM

I thought it would be fun for us to go through Project Euler together and discuss answers etc. Let's start with Problem 1.

Quote

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

Spoiler

This post has been edited by jimblumberg: 10 July 2012 - 02:40 AM
Reason for edit:: Added missing Code Tags, Please learn to use them.

Is This A Good Question/Topic? 0

## Replies To: PE - DIC Style

### #2 ishkabible

• spelling expret

Reputation: 1676
• Posts: 5,836
• Joined: 03-August 09

## Re: PE - DIC Style

Posted 10 July 2012 - 11:31 AM

good idea! I played code golf/obfuscation with this one; I'm working on making it shorter

Spoiler

This post has been edited by ishkabible: 10 July 2012 - 11:34 AM

### #3 jon.kiparsky

• Pancakes!

Reputation: 8930
• Posts: 15,434
• Joined: 19-March 11

## Re: PE - DIC Style

Posted 10 July 2012 - 11:40 AM

Can I just point out that the point of PE is that you don't know the answers until you solve the problem, and also that solving a particular problem gives you access to a discussion forum for that problem on the PE site? Yes, I know that answers to particular problems are available, and are even discussed here, but the idea of collating solutions to the problems in one thread seems well beyond disrespectful to the expressed intention of the people maintaining that site.

We preserve a certain level of quality of discussion here at DIC by, among other things, chasing off the "gimme teh codez" crowd and those who cater to them. We expect them to respect the way things are done here. I think it'd be good to give the PE folks at least the level of respect we expect for ourselves.

### #4 jimblumberg

Reputation: 4734
• Posts: 14,759
• Joined: 25-December 09

## Re: PE - DIC Style

Posted 10 July 2012 - 11:50 AM

I agree with Jon plus this topic doesn't really fit this forum. This is a "challenge" forum not a discussion forum. I think this could have been a decent challenge for our beginning members if it would have been posted as such.

Jim

### #5 ishkabible

• spelling expret

Reputation: 1676
• Posts: 5,836
• Joined: 03-August 09

## Re: PE - DIC Style

Posted 10 July 2012 - 11:58 AM

yes the discussion forum would be a better fit. for now I'll move and I'll contact a mod for their input on weather this should be closed. I didn't think about this far enough, my bad.

### #6 modi123_1

• Suitor #2

Reputation: 10839
• Posts: 42,464
• Joined: 12-June 08

## Re: PE - DIC Style

Posted 10 July 2012 - 12:22 PM

I agree - the initial post had merit (and I do enjoy talking about a particular problem or devious solution), but having a one stop thread of just answers seems a bit... less than up and up. I'll close this now.