QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637499#7032. Keiichi Tsuchiya the Drift KingZhangYiDeAC ✓9ms4500kbC++20694b2024-10-13 13:05:522024-10-13 13:05:54

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

1.60555127546
1.60555127546
1.59807621135
1.41541556907

result:

ok 4 numbers

Test #2:

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

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.2040722106
72.4734406396
66.4390328021
56.2829368767
40.649687007
63.4759216313
94.6516920514
80.1353212924
49.0034964608
98.3064624272
8.84032966784
54.9938269253
23.403791384
74.3207200757
43.8817546274
39.9888055025
84.1476653266
69.9561973771
58.3790377023
76.9069263797
74.5579080547
7.356011...

result:

ok 10000 numbers

Test #3:

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

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.004999875
99.004999875
98.0050503762
97.005101908
97.005101908
97.005101908
96.0051545022
92.0053761887
93.0053189984
95.0052081921
94.0052630121
90.0054943396
93.0053189984
89.0055553841
98.0050503762
99.004999875
84.0058821494
89.0055553841
95.0052081921
81.0060973343
92.0053761887
95.005208192...

result:

ok 10000 numbers

Test #4:

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

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.71423310621
2.71408080137
2.67932829334
2.67917598849
2.64442348046
2.64427117562
2.60951866759
2.60936636274
2.57461385471
2.57446154987
2.53970904184
2.53955673699
2.50480422896
2.50465192412
2.46989941609
2.46974711124
2.43499460321
2.43484229837
2.40008979034
2.3999374855
2.36518497746
2.36503...

result:

ok 10000 numbers