Problem 314

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
sivakd
Posts: 217
Joined: Fri Jul 17, 2009 9:37 am
Location: California, USA
Contact:

Problem 314

Post by sivakd »

Wow, only 25 solvers so far. Looks like the toughest problem of this season.

I want to make sure I understand the following correctly

"The wall must be a closed series of straight lines, each line running from post to post."

If I have a slanting line from point a to b, does it have to be like a staircase so that it touches the nearest posts? Either way, I am no where close to solve this, but want to make sure I spend time on the right interpretation.
Image
puzzle is a euphemism for lack of clarity
orj
Posts: 1
Joined: Sun Dec 12, 2010 8:41 am

Re: Problem 314

Post by orj »

I thought as long it is a wall between two posts, it would meet the criteria. If not, you could not get past the 125 limit i guess.

Anyone trying to solve it with an integral?
User avatar
hk
Administrator
Posts: 12842
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 314

Post by hk »

Any straight segment is fine as long as its endpoints are posts.
Image
War ruins the life and health of untold numbers of innocent children.
arpit_tarang
Posts: 1
Joined: Thu Dec 16, 2010 6:42 pm

Re: Problem 314

Post by arpit_tarang »

Hmm i was thinking maybe taking the area as a circle which extends outside the square might do the job. Although i'm still a noob at this :P. But i am getting a nice value of the ratio around ~131.7, but that's on taking a circular boundary... i've yet to make a straight-lined approximation.
User avatar
Lord_Farin
Posts: 239
Joined: Wed Jul 01, 2009 10:43 am
Location: Netherlands

Re: Problem 314

Post by Lord_Farin »

This forum is not for discussing solving strategies. Please refrain from posting anything that might spoil the solving fun for others.
Image
foumou
Posts: 3
Joined: Thu Dec 23, 2010 9:30 am

Re: Problem 314

Post by foumou »

In my opinion, part of the description of question is a little vague. For example,

"251001 posts have been placed in a rectangular grid with 1 meter spacing. The wall must be a closed series of straight lines, each line running from post to post."

Does this mean that we divide the square in a grid of 1x1 boxes? Probably not, because if every post had size 1 then we would need more than 251001 posts to fill the square. I still don't get it. Also, "Each line that runs from post to post" refers to a line that can run only through the ending points of each post or even through the middle of it.

I would appreciate any clarification on these issues. Also, congrats to those who have already solved it.
User avatar
hk
Administrator
Posts: 12842
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 314

Post by hk »

You can look up what is meant by a post using this link:
http://dictionary.reference.com/browse/post?r=75
You should have the first meaning:

"a strong piece of timber, metal, or the like, set upright as a support, a point of attachment, a place for displaying notices, etc.
"
Image
War ruins the life and health of untold numbers of innocent children.
foumou
Posts: 3
Joined: Thu Dec 23, 2010 9:30 am

Re: Problem 314

Post by foumou »

Thank you for letting me know that there are dictionaries, but I just asked how these posts are used in the description of the problem since it is a little bit unclear. Anyway, thnx for your time, I think I have found the solution.
User avatar
hk
Administrator
Posts: 12842
Joined: Sun Mar 26, 2006 10:34 am
Location: Haren, Netherlands

Re: Problem 314

Post by hk »

Well, I thought that if the meaning of the word post was clear there wasn't any ambiguity anymore.
But one never knows.
Image
War ruins the life and health of untold numbers of innocent children.
foumou
Posts: 3
Joined: Thu Dec 23, 2010 9:30 am

Re: Problem 314

Post by foumou »

I understand, I just got confused for a minute but now I get the whole picture. Thnx
Muckle_ewe
Posts: 1
Joined: Sat Dec 25, 2010 1:50 pm

Re: Problem 314

Post by Muckle_ewe »

Anyone care to look at my working and give me any hints as to how to improve. I'm currently accurate to 2 decimal places (know the numerical answer from ages ago when I first joined and wanted to solve this). I don't have a code as such since I've sort of tried to solve it with pencil/paper and just by looking at a plot of matlab but I can send the coordinates of the posts (not too many of them).
Post Reply