PE - DIC Style

Page 1 of 1

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

#1 stackoverflow  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 164
  • View blog
  • 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  Icon User is offline

  • spelling expret
  • member icon





Reputation: 1618
  • View blog
  • Posts: 5,707
  • 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 :P

Spoiler

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

Was This Post Helpful? 0
  • +
  • -

#3 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7294
  • View blog
  • Posts: 12,138
  • 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.
Was This Post Helpful? 1
  • +
  • -

#4 jimblumberg  Icon User is offline

  • member icon


Reputation: 3845
  • View blog
  • Posts: 11,753
  • 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
Was This Post Helpful? 0
  • +
  • -

#5 ishkabible  Icon User is offline

  • spelling expret
  • member icon





Reputation: 1618
  • View blog
  • Posts: 5,707
  • 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.
Was This Post Helpful? 0
  • +
  • -

#6 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8379
  • View blog
  • Posts: 31,144
  • 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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1