QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#471012#2636. English Restaurantlmq26052003AC ✓9ms13756kbC++231.9kb2024-07-10 17:15:442024-07-10 17:15:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4 57 5
10 29 45 57

output:

91.6444987423

result:

ok found '91.6444987', expected '91.6444987', error '0.0000000'

Test #2:

score: 0
Accepted
time: 2ms
memory: 12600kb

input:

9 100 8
10 29 30 45 57 57 77 89 99

output:

322.0911241134

result:

ok found '322.0911241', expected '322.0911241', error '0.0000000'

Test #3:

score: 0
Accepted
time: 2ms
memory: 12892kb

input:

18 100 22
5 14 15 22 28 28 43 49 55 64 67 75 83 83 83 94 96 100

output:

790.5475705668

result:

ok found '790.5475706', expected '790.5475706', error '0.0000000'

Test #4:

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

input:

4 4 3
1 2 3 4

output:

6.6093750000

result:

ok found '6.6093750', expected '6.6093750', error '0.0000000'

Test #5:

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

input:

50 100 50
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

output:

626.1672528795

result:

ok found '626.1672529', expected '626.1672529', error '0.0000000'

Test #6:

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

input:

2 100 13
1 2

output:

0.3736700347

result:

ok found '0.3736700', expected '0.3736700', error '0.0000000'

Test #7:

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

input:

2 20 12
1 1

output:

0.5779997693

result:

ok found '0.5779998', expected '0.5779998', error '0.0000000'

Test #8:

score: 0
Accepted
time: 3ms
memory: 12064kb

input:

50 100 50
50 49 36 24 41 36 50 42 18 10 2 25 9 34 10 11 32 6 50 6 31 13 9 48 37 37 17 38 29 38 23 27 16 1 16 7 37 6 38 38 8 50 40 8 41 16 26 26 46 8

output:

633.5516178682

result:

ok found '633.5516179', expected '633.5516179', error '0.0000000'

Test #9:

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

input:

3 3 2
1 2 3

output:

3.6666666667

result:

ok found '3.6666667', expected '3.6666667', error '0.0000000'

Test #10:

score: 0
Accepted
time: 2ms
memory: 13228kb

input:

20 100 50
60 82 1 19 32 93 85 54 64 77 11 3 71 89 95 99 82 45 69 39

output:

891.0939666962

result:

ok found '891.0939667', expected '891.0939667', error '0.0000000'

Test #11:

score: 0
Accepted
time: 3ms
memory: 13344kb

input:

50 100 50
83 68 43 67 27 92 25 51 70 50 100 63 47 100 9 45 17 51 1 52 55 82 54 43 91 15 51 21 67 23 42 3 78 92 10 15 88 85 28 78 66 58 97 11 87 73 99 6 67 63

output:

2288.4553068567

result:

ok found '2288.4553069', expected '2288.4553069', error '0.0000000'

Test #12:

score: 0
Accepted
time: 2ms
memory: 13388kb

input:

20 30 50
48 17 47 83 9 25 24 17 47 58 29 16 8 34 22 36 28 65 23 6

output:

309.1701247189

result:

ok found '309.1701247', expected '309.1701247', error '0.0000000'

Test #13:

score: 0
Accepted
time: 2ms
memory: 13384kb

input:

50 50 10
20 24 52 4 32 48 44 3 12 48 64 1 62 1 37 30 34 30 44 20 73 15 24 63 40 38 44 37 50 29 89 21 32 41 11 36 38 41 69 15 95 20 3 54 9 37 76 7 68 36

output:

255.0000000000

result:

ok found '255.0000000', expected '255.0000000', error '0.0000000'

Test #14:

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

input:

50 50 50
59 48 13 23 37 10 32 20 47 63 9 5 58 2 30 67 2 34 67 90 45 19 33 43 27 32 31 19 30 8 8 54 58 25 48 67 59 63 4 42 93 17 7 34 16 40 62 65 50 71

output:

1240.1864477671

result:

ok found '1240.1864478', expected '1240.1864478', error '0.0000000'

Test #15:

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

input:

10 100 50
84 37 81 13 35 65 15 34 82 66

output:

372.5296649319

result:

ok found '372.5296649', expected '372.5296649', error '0.0000000'

Test #16:

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

input:

40 1 4
1 14 8 4 3 54 39 29 41 46 28 8 22 1 47 75 39 4 7 16 11 23 57 49 56 3 26 62 12 5 35 12 42 2 48 22 79 20 46 42

output:

4.0000000000

result:

ok found '4.0000000', expected '4.0000000', error '0.0000000'

Test #17:

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

input:

30 30 50
4 37 16 9 38 73 19 56 3 14 45 73 42 42 29 37 47 55 29 48 22 22 41 54 25 16 24 62 33 69

output:

463.4159685723

result:

ok found '463.4159686', expected '463.4159686', error '0.0000000'

Test #18:

score: 0
Accepted
time: 2ms
memory: 13756kb

input:

50 67 24
16 4 11 64 80 12 47 32 7 43 64 82 64 63 9 56 50 59 64 79 18 12 19 43 14 49 56 40 45 49 40 78 1 3 7 91 18 11 34 54 62 19 2 45 58 67 89 86 72 59

output:

815.9999974732

result:

ok found '815.9999975', expected '815.9999975', error '0.0000000'

Test #19:

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

input:

2 100 50
76 16

output:

53.3143982940

result:

ok found '53.3143983', expected '53.3143983', error '0.0000000'

Test #20:

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

input:

4 11 4
10 10 10 10

output:

20.0000000000

result:

ok found '20.0000000', expected '20.0000000', error '0.0000000'

Test #21:

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

input:

2 100 1
35 65

output:

21.4500000000

result:

ok found '21.4500000', expected '21.4500000', error '0.0000000'

Test #22:

score: 0
Accepted
time: 3ms
memory: 12808kb

input:

50 100 50
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

0.5000000000

result:

ok found '0.5000000', expected '0.5000000', error '0.0000000'

Test #23:

score: 0
Accepted
time: 3ms
memory: 11876kb

input:

37 100 50
2 1 1 1 2 1 2 1 1 2 2 1 2 2 2 1 2 2 1 2 2 1 1 2 2 1 2 1 1 1 1 2 2 2 2 1 2

output:

1.5000000000

result:

ok found '1.5000000', expected '1.5000000', error '0.0000000'

Test #24:

score: 0
Accepted
time: 3ms
memory: 12268kb

input:

44 100 50
1 2 2 3 3 2 3 2 3 1 2 2 2 2 3 1 3 2 1 3 1 3 3 3 2 1 2 1 2 3 3 1 1 1 1 3 2 2 2 2 3 1 1 1

output:

3.0000000000

result:

ok found '3.0000000', expected '3.0000000', error '0.0000000'

Test #25:

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

input:

100 200 100
134 127 119 172 150 194 177 76 166 135 65 83 33 73 105 6 127 110 61 46 176 164 100 191 19 48 102 36 22 76 34 193 48 150 53 106 59 51 194 138 109 58 111 138 193 107 42 114 153 54 184 20 181 197 148 122 12 63 161 78 118 83 49 61 28 187 41 65 14 3 99 104 122 75 192 103 39 142 127 90 185 85 ...

output:

9259.8891338584

result:

ok found '9259.8891339', expected '9259.8891339', error '0.0000000'

Test #26:

score: 0
Accepted
time: 3ms
memory: 12044kb

input:

100 200 90
137 121 82 112 164 142 7 1 191 143 140 77 92 8 189 135 87 7 109 166 181 104 170 62 103 73 60 136 47 160 133 147 114 187 4 11 174 86 186 121 60 159 165 82 20 79 161 195 60 164 66 88 13 21 45 198 16 41 195 54 60 56 55 115 170 171 116 52 41 97 18 75 147 69 125 173 11 70 89 166 176 93 51 95 1...

output:

8504.2873403760

result:

ok found '8504.2873404', expected '8504.2873404', error '0.0000000'

Test #27:

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

input:

99 199 50
92 153 83 171 61 10 174 19 155 8 36 77 36 140 42 12 77 12 151 97 191 3 146 13 176 164 107 171 170 40 77 176 192 122 198 196 24 138 71 23 27 40 152 161 4 85 152 161 112 69 35 22 58 22 40 49 94 156 69 15 176 137 171 145 81 133 188 55 128 169 95 76 185 128 92 58 182 117 114 106 103 68 1 34 47...

output:

4868.3731651917

result:

ok found '4868.3731652', expected '4868.3731652', error '0.0000000'

Test #28:

score: 0
Accepted
time: 3ms
memory: 12132kb

input:

90 200 90
98 52 30 90 27 8 137 194 12 16 140 28 63 119 38 143 132 89 164 89 83 181 103 14 86 73 145 185 14 148 17 9 33 52 97 59 82 175 38 91 50 32 191 116 27 57 108 176 131 107 122 94 185 54 167 74 71 117 18 21 40 114 64 21 122 120 58 16 62 31 31 123 192 161 62 136 126 132 146 145 127 25 22 75 19 61...

output:

6705.6057859500

result:

ok found '6705.6057859', expected '6705.6057860', error '0.0000000'

Test #29:

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

input:

1 140 50
164

output:

70.5000000000

result:

ok found '70.5000000', expected '70.5000000', error '0.0000000'

Test #30:

score: 0
Accepted
time: 2ms
memory: 11612kb

input:

99 140 1
95 7 74 29 160 24 82 152 95 109 154 13 30 155 116 4 16 29 103 142 70 65 23 161 156 114 109 2 53 130 155 116 58 138 59 69 125 161 144 79 20 51 74 101 14 1 4 43 136 39 148 109 168 50 156 9 14 42 98 11 84 156 66 41 116 117 46 56 154 153 60 160 14 76 48 153 152 35 29 167 106 50 124 41 40 84 30 ...

output:

70.5000000000

result:

ok found '70.5000000', expected '70.5000000', error '0.0000000'

Test #31:

score: 0
Accepted
time: 2ms
memory: 11784kb

input:

4 3 3
4 1 3 2

output:

5.8888888889

result:

ok found '5.8888889', expected '5.8888889', error '0.0000000'

Test #32:

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

input:

50 200 67
24 56 89 59 110 35 22 9 27 90 82 57 96 101 120 111 66 10 22 147 27 27 97 1 113 47 41 40 3 43 123 87 116 104 141 23 9 81 64 122 37 93 135 64 58 109 102 82 114 136

output:

2919.8058605106

result:

ok found '2919.8058605', expected '2919.8058605', error '0.0000000'

Test #33:

score: 0
Accepted
time: 5ms
memory: 12752kb

input:

100 7 75
18 15 18 12 6 4 16 2 4 9 18 7 5 12 18 7 18 4 17 7 1 7 7 11 15 20 7 7 15 4 7 6 20 3 1 9 14 3 13 15 3 20 4 11 15 5 9 20 12 8 18 3 3 10 9 5 1 11 15 20 20 13 17 15 16 5 2 12 7 9 8 11 9 16 11 15 10 16 12 20 5 7 10 7 15 3 5 17 13 5 3 1 3 16 18 9 19 6 2 18

output:

300.0000000000

result:

ok found '300.0000000', expected '300.0000000', error '0.0000000'

Test #34:

score: 0
Accepted
time: 8ms
memory: 13288kb

input:

100 199 100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

0.5025125628

result:

ok found '0.5025126', expected '0.5025126', error '0.0000000'

Test #35:

score: 0
Accepted
time: 8ms
memory: 12328kb

input:

90 1 100
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

90.0000000000

result:

ok found '90.0000000', expected '90.0000000', error '0.0000000'

Test #36:

score: 0
Accepted
time: 4ms
memory: 13616kb

input:

90 2 100
2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

134.9958699456

result:

ok found '134.9958699', expected '134.9958699', error '0.0000000'

Test #37:

score: 0
Accepted
time: 4ms
memory: 13468kb

input:

98 70 100
2 2 2 2 2 2 2 2 2 2 2 60 60 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

67.2857142333

result:

ok found '67.2857142', expected '67.2857142', error '0.0000000'

Test #38:

score: 0
Accepted
time: 3ms
memory: 12700kb

input:

98 177 87
6 6 10 9 5 5 10 6 5 5 6 10 8 9 9 9 9 10 10 10 9 8 5 6 8 8 8 7 5 6 7 5 5 9 7 5 7 7 10 8 5 8 6 9 8 8 5 9 9 10 6 10 6 5 6 7 10 5 5 6 7 9 9 9 7 8 6 10 7 8 8 95 99 96 98 96 96 96 97 99 95 96 98 99 95 95 96 99 97 97 96 96 97 99 97 95 96 96

output:

1512.0256904145

result:

ok found '1512.0256904', expected '1512.0256904', error '0.0000000'

Test #39:

score: 0
Accepted
time: 2ms
memory: 12996kb

input:

100 200 1
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

output:

0.0050000000

result:

ok found '0.0050000', expected '0.0050000', error '0.0000000'

Test #40:

score: 0
Accepted
time: 5ms
memory: 12368kb

input:

100 200 100
200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 200 ...

output:

10050.0000000000

result:

ok found '10050.0000000', expected '10050.0000000', error '0.0000000'