QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637436#7032. Keiichi Tsuchiya the Drift KingZhaoZiLongAC ✓15ms4472kbC++20351b2024-10-13 12:49:222024-10-13 12:49:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1.60555128
1.60555128
1.59807621
1.41541557

result:

ok 4 numbers

Test #2:

score: 0
Accepted
time: 7ms
memory: 4368kb

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.20407221
72.47344064
66.43903280
56.28293688
40.64968701
63.47592163
94.65169205
80.13532129
49.00349646
98.30646243
8.84032967
54.99382693
23.40379138
74.32072008
43.88175463
39.98880550
84.14766533
69.95619738
58.37903770
76.90692638
74.55790805
7.35601121
61.20062893
85.46658472
72.72000863
10...

result:

ok 10000 numbers

Test #3:

score: 0
Accepted
time: 15ms
memory: 4272kb

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.00499988
99.00499988
98.00505038
97.00510191
97.00510191
97.00510191
96.00515450
92.00537619
93.00531900
95.00520819
94.00526301
90.00549434
93.00531900
89.00555538
98.00505038
99.00499988
84.00588215
89.00555538
95.00520819
81.00609733
92.00537619
95.00520819
84.00588215
89.00555538
95.00520819
...

result:

ok 10000 numbers

Test #4:

score: 0
Accepted
time: 9ms
memory: 4472kb

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.71423311
2.71408080
2.67932829
2.67917599
2.64442348
2.64427118
2.60951867
2.60936636
2.57461385
2.57446155
2.53970904
2.53955674
2.50480423
2.50465192
2.46989942
2.46974711
2.43499460
2.43484230
2.40008979
2.39993749
2.36518498
2.36503267
2.33028016
2.33012786
2.29537535
2.29522305
2.26047054
2.2...

result:

ok 10000 numbers