# Project Euler #139: Pythagorean tiles

# Project Euler #139: Pythagorean tiles

+ 0 comments In the problem description, is perimeter P referring to the perimeter of the triangles? I assume this is the case since otherwise the given test case

`P = 15`

would give a result of`0`

, since the first Pythagorean triple is`(3, 4, 5)`

, which yields a square with`perimeter = 20`

.EDIT: From testing, this appears to be the case.

+ 0 comments Hey I am new can you tell me how i will get those pythagorean triangles values?

My method works for the given input and even for the other inputs if given explicitly but i don't know how to make it implicit.

+ 0 comments Can anyone give me some custom samples to run?

+ 1 comment This might be a stupid question, but I can't seem to understand the problem. How come we are not given the size of triangles which are supposed to fill the perimiter P?

+ 1 comment Hello i'm new in those staff and i want to know what they say by: In the first test case: 1<=P<=10^4 In the second test case: 1<=P<=10^8 In the third test case:

Sort 6 Discussions, By:

Please Login in order to post a comment