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
Re: To admins: weak tests?
Posted by Vladimir Yakovlev (USU) 30 Apr 2018 01:02
Thanks! The bunch of tests of similar pattern has been added.