QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#211735#7336. FactoryGuanYunchangWA 1ms3880kbC++20433b2023-10-12 20:43:352023-10-12 20:43:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3872kb

input:

1
3
-3 0
0 3
3 0

output:

0.0000000 1.7320508

result:

ok OK!

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3880kb

input:

10
3
-3 0
0 3
3 0
2
-1000000 1000000
-1000000 999999
3
-999999 1000000
-1000000 999999
1000000 -1000000
3
-999999 5
4 999999
999998 -999999
30
-6 15
-3 -21
2 12
1 -2
-27 -22
-3 -3
-11 0
-4 16
30 -24
-28 16
9 11
16 30
-28 -11
8 16
-30 28
23 10
-5 -11
28 10
-11 -2
30 -4
11 -17
-12 0
-5 -3
24 -13
22 -1...

output:

0.0000000 1.7320508
-nan 1414.2132088
-nan 999.9995000
1.7320508 2.2360680
9.2195445 6.3245553
9999.5217386 -nan
66.4379410 -nan
-nan 72.6016529
-nan -nan
140.4670780 -nan

result:

wrong output format Expected double, but "-nan" found