Problem 279

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
phsr
Posts: 27
Joined: Tue Dec 15, 2009 12:00 am

Problem 279

Post by phsr »

If triangle with sides (a,b,c) is a solution, do you consider (b,a,c), (c,b,a) etc as independent solutions?
User avatar
elendiastarman
Posts: 410
Joined: Sat Dec 22, 2007 8:15 pm

Re: Problem 279

Post by elendiastarman »

Problem 279 (View Problem)

Given the trend set by many previous problems...I would say they are the same triangle. After all, in your example, the transformations are a reflection and a reflection+rotation with regards to the original.

If one of the site's "admins" know I'm wrong, please correct me.
Want some
3.14159265358979323846264338327950288419716939937510
58209749445923078164062862089986280348253421170679...?
Image
User avatar
rayfil
Administrator
Posts: 1412
Joined: Sun Mar 26, 2006 5:30 am
Location: Quebec, Canada
Contact:

Re: Problem 279

Post by rayfil »

That would be the same triangle, wouldn't it?
When you assume something, you risk being wrong half the time.
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: Problem 279

Post by stijn263 »

They're considered the same triangle. a = 3, b = 4, c = 5 is (obviously) the same triangle as b = 3, a = 4, c = 5. The labeling is arbitrary.
kvom
Posts: 13
Joined: Tue Oct 02, 2007 11:06 pm
Location: Georgia, USA

Re: Problem 279

Post by kvom »

My program's incorrect answer is between 9x10^7 and 10^8. Am I anywhere close or else clueless?
User avatar
stijn263
Posts: 1505
Joined: Sat Sep 15, 2007 11:57 pm
Location: Netherlands

Re: Problem 279

Post by stijn263 »

The answer is about 5 times as large..

Good luck :-)
Post Reply