Hello, I recently encountered a problem on Kattis which seems to be just be an implementation problem with precision issues that might need to be handled. However, after several WAs with no leads, I am at a dead end. I'm not even sure if it's precision related at the moment...
Below is my approach:
My Approach
My code:
My Code
Any help would be appreciated, thanks!