QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#253683#5588. Eroding Pillarslmq26052003TL 302ms46216kbC++203.0kb2023-11-17 11:29:132023-11-17 11:29:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3780kb

input:

2
1 1
1 0

output:

1.414213562373

result:

ok found '1.4142136', expected '1.4142136', error '0.0000000'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3908kb

input:

8
1 1
0 1
1 0
2 0
0 2
2 1
1 2
2 2

output:

1.000000000000

result:

ok found '1.0000000', expected '1.0000000', error '0.0000000'

Test #3:

score: 0
Accepted
time: 0ms
memory: 4012kb

input:

1
1000000000 -1000000000

output:

1414213562.373095035553

result:

ok found '1414213562.3730950', expected '1414213562.3730950', error '0.0000000'

Test #4:

score: 0
Accepted
time: 302ms
memory: 46216kb

input:

1000
-197140284 703496508
105426106 -447628446
-321789030 -547969163
-275840107 -183856400
977079157 55081681
562400795 -99876434
-833457368 849631307
427777786 981882
-477648368 423363280
-986742316 -207582454
546089414 986224147
648775399 760817052
-111756907 833096696
-702954343 -487408110
-20831...

output:

129014631.064948469400

result:

ok found '129014631.0649485', expected '129014631.0649485', error '0.0000000'

Test #5:

score: -100
Time Limit Exceeded

input:

999
-37 59
90 99
-78 -74
84 82
-33 22
-5 14
-37 -35
6 -97
-35 -91
-17 -55
85 -75
-13 9
-87 70
64 74
45 -74
-83 -71
-91 -69
64 -54
-28 37
98 65
28 32
12 83
21 94
-42 -63
-14 22
12 -91
-77 -82
18 -79
97 4
23 25
54 58
56 -39
-82 63
-15 89
-36 96
51 5
-37 54
99 57
5 68
82 -75
30 -71
-82 31
-36 -28
48 98...

output:


result: