Your Love for Geometry

You are given a right triangle ABC where angle ABC is the right angle and BD is perpendicular to AD…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

@hjr265
Hey, I guess there’s some kind of problem in the 12th Test Case
First I submitted this: https://toph.co/s/1136504
It got WA in 12th one. ( I thought, my code can have faults )

But then I submitted exactly the same code from the Fastest, Lightest and Shortest ones and all got WA in the 12th Test Case.

Please have a look

@Nusab19 There was an issue with the test case in question. It has been fixed. Thanks for reporting.

@hjr265, i also noticed that test cases has empty lines and random whitespaces (does not follow toph formatting guide). For example, in sample 1:

2
5 5
9 12


Kindly also rejudge 1448463 when you fix it.

1 Like

@touhidurrr You are right, the test cases had extra trailing spaces. This has been fixed.

Your submission has been rejudged.

1 Like