In 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 .
In 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
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)