ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1075. Thread in a Space

To admins: weak tests?
Posted by mouse_wireless 12 Apr 2018 02:59
Submission ID 7846927 (not my source, found online) gets Accepted but on this test it prints nan:

2 4 0
3 6 0
0 0 0
3

I'm pretty sure the test is correct (I plotted it). It's a sphere with center in origin and two points co-linear with the center which lie outside the sphere.

Submission ID 7846930 (also found online) also gets Accepted despite printing nan on the test above.

Edited by author 12.04.2018 03:03

Edited by author 12.04.2018 03:08