QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#638289#7032. Keiichi Tsuchiya the Drift Kingucup-team5248#AC ✓44ms11184kbPython3281b2024-10-13 15:33:392024-10-13 15:33:40

详细

Test #1:

score: 100
Accepted
time: 11ms
memory: 10980kb

input:

4
1 2 2 120
1 2 2 60
1 2 2 30
1 2 2 15

output:

1.6055512754639891
1.6055512754639891
1.5980762113533156
1.415415569072246

result:

ok 4 numbers

Test #2:

score: 0
Accepted
time: 36ms
memory: 11184kb

input:

10000
17 35 10 70
56 65 64 74
54 58 75 31
56 9 87 44
33 60 39 8
39 52 4 94
63 99 76 134
15 91 16 149
21 85 94 71
98 9 34 116
8 6 13 134
18 68 26 85
21 20 61 117
73 18 49 64
41 25 66 32
19 72 94 110
80 38 92 152
62 46 67 157
38 72 79 139
75 18 9 124
73 23 96 150
1 26 49 114
36 76 66 38
80 34 23 88
69...

output:

34.204072210600685
72.4734406395618
66.43903280212291
56.28293687665675
40.649687006996984
63.47592163134935
94.65169205138284
80.13532129243653
49.00349646075091
98.30646242719968
8.840329667841555
54.99382692526635
23.403791384036765
74.32072007574396
43.881754627417564
39.988805502549354
84.14766...

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 35ms
memory: 10964kb

input:

10000
99 1 1 99
99 1 1 98
98 1 1 98
97 1 1 98
97 1 1 97
97 1 1 96
96 1 1 96
92 1 1 99
93 1 1 97
95 1 1 94
94 1 1 94
90 1 1 97
93 1 1 93
89 1 1 96
98 1 1 86
99 1 1 84
84 1 1 98
89 1 1 92
95 1 1 85
81 1 1 98
92 1 1 86
95 1 1 82
84 1 1 92
89 1 1 86
95 1 1 79
79 1 1 94
87 1 1 85
90 1 1 81
77 1 1 93
94 1...

output:

99.00499987500625
99.00499987500625
98.00505037623081
97.00510190801293
97.00510190801293
97.00510190801293
96.0051545022222
92.00537618869137
93.00531899844816
95.00520819205592
94.00526301210897
90.00549433962765
93.00531899844816
89.00555538409837
98.00505037623081
99.00499987500625
84.0058821494...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 44ms
memory: 10888kb

input:

10000
1 99 88 1
1 99 89 1
1 97 88 1
1 97 89 1
1 95 88 1
1 95 89 1
1 93 88 1
1 93 89 1
1 91 88 1
1 91 89 1
1 89 88 1
1 89 89 1
1 87 88 1
1 87 89 1
1 85 88 1
1 85 89 1
1 83 88 1
1 83 89 1
1 81 88 1
1 81 89 1
1 79 88 1
1 79 89 1
1 77 88 1
1 77 89 1
1 75 88 1
1 75 89 1
1 73 88 1
1 73 89 1
1 71 88 1
1 71...

output:

2.714233106209889
2.714080801366279
2.679328293335317
2.679175988491707
2.6444234804607447
2.644271175617149
2.609518667586187
2.609366362742577
2.5746138547116146
2.574461549868005
2.5397090418370567
2.539556736993447
2.5048042289624846
2.5046519241188747
2.4698994160879124
2.469747111244317
2.4349...

result:

ok 10000 numbers