Page 1 of 1
Problem 904
Posted: Sat Aug 24, 2024 2:09 pm
by wim59
Excuse me, but was is alpha?
Re: Problem 904
Posted: Sat Aug 24, 2024 2:55 pm
by raiden11
alpha is not related to the triangle. It can be any given angle (in degrees). And L can be any integer. Read till the last, you'll understand
Re: Problem 904
Posted: Sat Aug 24, 2024 4:39 pm
by wim59
OK thanks for the clarification!
Re: Problem 904
Posted: Sat Nov 02, 2024 2:19 pm
by mallensule
Hello, Is there any extra known test case? My solution is correct for the test case F(10, 10^6), but not for the requested number.
I'm not sure if it is a precision problem, which it shouldn't as I am using long doubles (128-bit precision).
Re: Problem 904
Posted: Sat Nov 16, 2024 1:13 pm
by mallensule
I managed to solve it
I tried with another (simpler) angle formula, and it worked.