Another Contest 4 Problem 11 - Three Rectangles
View as PDFIn 2016, I proposed a problem about trying to take three rectangles and seeing if it was possible to combine them to form a square. It got accepted. Please implement this function instead.
bool f(int n)
You may assume .
Comments
Character limit should be decreased to 50. 50 Character submition™
Even a 47 character solution!
Edit: There are even more shorter solutions
What does it mean WA (your code is too long)?
it means your code is too long
What is the character limit?
75 chars
Thanks for the assistance.
Any tips on how to not TLE. I think my solution has an
time complexity, which should be well under the time limit.
Hint: Aim for
. (Solution)