QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#637627#7032. Keiichi Tsuchiya the Drift KingZhangYiDeAC ✓6ms4352kbC++20359b2024-10-13 13:35:212024-10-13 13:35:22

詳細信息

Test #1:

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

input:

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

output:

1.605551275464
1.605551275464
1.598076211353
1.415415569072

result:

ok 4 numbers

Test #2:

score: 0
Accepted
time: 6ms
memory: 4256kb

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.204072210601
72.473440639562
66.439032802123
56.282936876657
40.649687006997
63.475921631349
94.651692051383
80.135321292437
49.003496460751
98.306462427200
8.840329667842
54.993826925266
23.403791384037
74.320720075744
43.881754627418
39.988805502549
84.147665326566
69.956197377118
58.3790377022...

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 6ms
memory: 4288kb

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.004999875006
99.004999875006
98.005050376231
97.005101908013
97.005101908013
97.005101908013
96.005154502222
92.005376188691
93.005318998448
95.005208192056
94.005263012109
90.005494339628
93.005318998448
89.005555384098
98.005050376231
99.004999875006
84.005882149414
89.005555384098
95.005208192...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 6ms
memory: 4292kb

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.714233106210
2.714080801366
2.679328293335
2.679175988492
2.644423480461
2.644271175617
2.609518667586
2.609366362743
2.574613854712
2.574461549868
2.539709041837
2.539556736993
2.504804228962
2.504651924119
2.469899416088
2.469747111244
2.434994603213
2.434842298370
2.400089790339
2.399937485495
...

result:

ok 10000 numbers