QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#209522#6386. DollsMaMengQi37 22ms6444kbC++17718b2023-10-10 15:31:082023-10-10 15:31:08

詳細信息

Subtask #1:

score: 23
Accepted

Test #1:

score: 23
Accepted
time: 1ms
memory: 5792kb

input:

190
57 94 24 27 110 44 72 82 55 7 9 43 22 86 95 84 125 16 75 28 46 10 14 131 112 132 33 53 103 139 118 126 137 13 140 77 25 23 47 116 68 150 81 97 165 58 88 63 42 89 123 11 113 83 124 130 80 35 143 155 153 48 8 136 104 101 90 37 21 99 142 34 64 115 109 26 92 144 61 51 114 49 148 96 60 30 54 134 141 ...

output:

1 2 3 4 5 6 7 8 9 10 11 11 12 13 13 14 15 16 17 17 18 18 19 20 21 21 22 23 24 25 26 26 27 27 27 28 28 28 28 29 30 31 31 32 33 33 34 35 36 36 37 38 38 38 38 39 40 41 42 43 44 45 45 45 45 46 47 48 49 50 50 50 50 50 50 50 51 52 53 54 55 55 56 56 56 57 57 58 58 58 58 59 59 60 60 60 61 61 62 63 63 63 63 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 11 12 ... 77 77 77 77 77 77 77 77 77 77 '

Test #2:

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

input:

158
46 39 57 35 42 43 60 87 44 38 89 92 41 70 78 58 48 59 51 37 36 49 77 76 71 47 50 88 45 40 36 39 92 36 39 45 46 58 51 49 47 37 47 43 87 77 45 39 89 59 57 42 89 76 76 37 47 77 36 77 60 89 40 36 45 40 76 92 88 37 46 88 46 46 36 59 78 92 35 89 60 89 77 45 70 45 70 78 51 51 92 42 35 76 60 51 35 59 49...

output:

1 2 3 4 5 5 6 7 8 8 9 10 10 11 12 12 13 13 14 15 15 15 15 16 16 16 16 16 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17 17...

result:

ok single line: '1 2 3 4 5 5 6 7 8 8 9 10 10 11... 17 17 17 17 17 17 17 17 17 17 '

Test #3:

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

input:

171
38 68 48 65 33 57 67 21 20 47 56 69 41 24 37 46 34 22 36 35 39 25 58 49 59 63 40 64 61 66 44 45 60 23 62 68 69 67 40 60 24 22 48 39 56 66 34 63 33 36 67 45 67 33 66 59 46 60 41 66 41 47 57 60 36 68 47 39 34 40 44 24 23 59 63 23 23 65 67 56 59 62 23 62 35 37 58 39 41 46 63 40 40 45 58 24 38 60 25...

output:

1 2 3 4 5 6 6 7 7 7 7 8 9 10 10 11 11 12 13 13 14 14 15 15 15 16 16 16 17 17 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 1...

result:

ok single line: '1 2 3 4 5 6 6 7 7 7 7 8 9 10 1... 18 18 18 18 18 18 18 18 18 18 '

Test #4:

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

input:

159
76 22 32 52 57 33 48 50 77 72 49 31 60 26 24 61 46 71 56 45 44 53 25 47 55 62 23 51 54 21 29 69 43 86 30 28 59 58 27 70 21 60 62 27 60 24 55 59 59 23 26 24 51 77 69 33 59 44 26 61 48 26 26 27 51 69 29 47 62 32 61 44 44 43 58 23 23 52 22 44 26 26 55 24 21 58 22 56 57 72 52 70 76 70 60 21 60 30 56...

output:

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

result:

ok single line: '1 2 3 4 5 5 6 7 7 8 8 9 10 11 ... 21 21 21 21 21 21 21 21 21 21 '

Test #5:

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

input:

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

output:

1 2 3 4 5 6 6 7 8 8 9 10 11 11 12 13 13 14 14 14 14 15 15 15 15 16 17 17 18 18 19 20 21 22 22 22 22 22 22 22 22 22 23 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 24 

result:

ok single line: '1 2 3 4 5 6 6 7 8 8 9 10 11 11... 24 24 24 24 24 24 24 24 24 24 '

Test #6:

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

input:

163
70 30 74 27 81 65 49 43 68 24 66 55 34 25 62 75 40 82 44 71 29 83 37 32 51 45 99 79 31 42 84 100 78 52 35 72 69 77 73 33 53 38 60 80 48 64 76 46 47 90 67 39 26 28 41 54 36 61 50 63 45 28 70 53 90 73 38 33 75 35 41 52 45 73 99 25 81 60 64 25 54 70 50 52 67 80 38 24 36 38 35 49 24 50 42 50 25 73 7...

output:

1 2 3 4 5 6 7 8 9 10 10 11 12 12 13 13 14 14 14 14 14 15 16 17 18 19 20 21 21 21 21 21 21 21 21 22 22 23 23 24 25 25 26 26 26 27 28 29 29 30 30 30 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 10 11 12 ... 31 31 31 31 31 31 31 31 31 31 '

Test #7:

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

input:

200
156 185 128 99 142 75 169 191 232 82 90 39 73 46 144 134 189 127 182 114 58 119 219 233 105 40 41 88 240 64 188 237 118 165 214 91 138 76 154 70 129 173 146 85 57 212 113 223 236 145 80 135 139 87 100 47 38 93 63 69 213 225 109 164 120 228 205 215 162 74 89 121 172 117 203 49 200 180 150 126 60 ...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 17 18 19 20 21 22 22 23 23 24 25 26 27 27 28 28 29 30 30 31 31 32 33 34 35 36 37 37 38 38 39 39 39 40 40 40 40 40 40 40 41 41 41 41 42 43 43 44 45 46 46 47 47 48 48 48 49 50 51 52 53 54 54 55 56 57 57 57 58 58 59 60 61 62 63 63 63 64 65 66 66 67 67 68 68 69 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 97 98 99 99 99 99 99 99 99 99 '

Test #8:

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

input:

192
164 227 117 214 141 205 162 82 50 83 87 159 36 129 181 47 132 228 161 32 42 173 203 222 180 219 136 133 151 140 147 86 165 188 206 72 238 103 111 56 113 191 134 208 189 118 209 146 95 186 58 35 169 150 155 99 124 78 92 149 157 40 225 51 153 224 182 204 76 70 41 184 67 207 131 43 137 145 106 127 ...

output:

1 2 3 4 5 6 7 8 9 9 10 11 12 13 14 15 16 16 16 17 18 19 20 21 21 22 23 23 24 24 25 25 25 26 26 27 28 29 30 31 32 33 34 35 35 35 35 35 36 37 38 38 39 39 40 41 42 43 44 45 46 47 48 48 49 49 50 50 51 52 52 53 54 55 55 55 55 56 57 58 59 59 59 60 60 61 61 61 62 63 63 63 63 64 64 65 65 66 67 67 68 69 69 6...

result:

ok single line: '1 2 3 4 5 6 7 8 9 9 10 11 12 1... 94 94 95 95 95 95 96 96 96 96 '

Test #9:

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

input:

199
33 25 124 109 211 161 198 85 117 104 214 21 152 110 183 125 185 49 137 138 79 208 20 135 203 100 102 29 128 45 61 87 162 93 229 197 32 233 107 227 82 228 148 55 39 156 174 31 78 184 36 209 98 147 40 157 52 23 97 129 44 167 194 216 224 84 230 99 112 62 204 86 223 96 106 202 81 37 126 28 205 35 57...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 13 14 14 15 16 17 17 18 19 19 20 21 22 23 24 25 26 27 28 28 29 30 30 30 31 32 33 34 34 35 36 37 38 39 40 40 40 41 41 42 42 42 42 43 44 44 44 44 45 46 47 48 48 48 48 49 49 49 49 49 50 50 51 51 51 52 52 52 53 54 54 55 56 57 58 58 58 59 60 60 60 61 62 63 63 63 63 63 64 64 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...99 100 100 100 100 101 101 101 '

Test #10:

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

input:

200
225 109 103 199 263 198 156 239 207 72 112 106 60 258 192 185 164 114 154 53 52 259 120 268 204 197 151 136 139 137 178 262 183 89 166 105 256 196 241 190 186 231 240 218 191 162 159 200 222 233 121 147 242 65 160 142 163 148 118 95 267 135 115 91 66 184 63 74 217 87 107 182 71 108 69 59 202 155...

output:

1 2 3 4 5 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 19 19 20 21 22 23 24 25 26 26 27 27 28 29 30 30 31 31 32 33 33 34 34 35 35 36 37 38 39 40 40 41 41 42 42 43 43 43 44 45 45 46 46 47 47 47 48 49 49 50 51 52 52 52 53 53 54 54 54 55 56 57 58 58 58 59 60 60 60 61 62 62 63 64 64 65 65 66 66 66 67 68 68 6...

result:

ok single line: '1 2 3 4 5 5 6 7 8 9 10 11 12 1...7 97 98 99 100 100 100 100 100 '

Test #11:

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

input:

5
1 2 3 4 5

output:

1 1 2 2 3 

result:

ok single line: '1 1 2 2 3 '

Test #12:

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

input:

200
165 177 24 33 158 143 197 65 98 183 190 39 97 43 176 171 149 164 46 102 150 93 82 152 54 110 25 136 63 85 38 156 200 71 195 115 210 101 188 144 160 37 230 237 211 189 142 31 130 224 198 50 81 79 216 132 214 36 90 184 227 86 220 66 187 78 28 191 182 219 29 148 96 238 117 58 91 88 181 145 196 118 ...

output:

1 2 3 4 5 6 7 8 9 10 11 12 12 13 13 14 15 15 16 17 17 18 19 20 21 22 22 23 24 25 25 26 27 28 29 30 31 31 32 32 33 34 35 36 36 36 37 38 39 40 40 41 41 42 43 44 45 45 46 46 47 47 48 48 48 48 49 50 51 51 51 52 53 53 54 55 55 56 56 56 56 56 56 57 57 58 59 60 61 62 63 63 63 64 64 65 66 67 67 68 68 69 69 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 12 ...00 100 100 100 100 100 100 100 '

Test #13:

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

input:

200
165 61 57 32 201 94 118 52 75 211 35 26 139 229 108 95 41 119 106 194 142 114 79 137 74 176 188 39 129 191 199 86 228 50 204 98 145 42 154 82 198 60 85 66 96 186 22 83 90 155 230 135 92 153 175 67 171 51 152 109 112 173 78 206 37 24 31 159 89 21 172 33 192 111 23 93 48 205 126 167 210 253 65 68 ...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 15 16 16 17 18 19 20 21 22 22 23 24 25 26 27 28 29 29 30 31 32 33 33 34 35 35 35 35 36 37 38 39 39 40 40 41 42 43 44 44 44 45 45 45 45 46 47 47 48 49 50 50 51 51 51 51 52 52 52 52 52 53 53 54 55 55 56 57 57 57 57 58 58 59 60 61 61 62 62 63 63 64 64 65 66 66 66 66 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...00 100 100 101 101 101 101 101 '

Test #14:

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

input:

5
2 4 6 8 10

output:

1 2 3 4 5 

result:

ok single line: '1 2 3 4 5 '

Test #15:

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

input:

5
3 3 1 3 2

output:

1 1 2 2 2 

result:

ok single line: '1 1 2 2 2 '

Test #16:

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

input:

5
5 2 3 1 4

output:

1 2 2 3 3 

result:

ok single line: '1 2 2 3 3 '

Test #17:

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

input:

5
10 6 8 4 2

output:

1 2 3 4 5 

result:

ok single line: '1 2 3 4 5 '

Test #18:

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

input:

155
41 3 4 20 42 45 1 30 23 2 21 32 13 31 19 22 12 43 18 5 43 43 21 2 21 19 20 23 30 18 42 19 31 43 18 4 30 23 43 12 3 22 1 32 21 32 30 4 32 3 43 20 19 45 32 43 23 12 12 13 22 4 2 22 12 31 31 3 1 22 22 3 45 23 5 2 42 18 3 42 13 41 43 23 22 42 43 45 19 45 1 32 22 43 12 13 41 5 31 20 4 4 18 4 30 3 18 ...

output:

1 2 2 3 3 4 5 6 7 7 7 8 9 9 10 10 10 11 11 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12...

result:

ok single line: '1 2 2 3 3 4 5 6 7 7 7 8 9 9 10... 12 12 12 12 12 12 12 12 12 12 '

Test #19:

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

input:

200
83 138 55 175 107 184 30 76 206 159 160 162 90 115 113 68 219 117 122 161 152 191 61 49 114 233 42 38 211 109 186 148 239 142 240 97 82 261 45 131 192 87 46 47 207 26 208 242 134 34 133 129 48 43 86 37 172 64 158 116 151 180 39 84 165 140 63 170 209 210 136 51 106 96 164 88 110 188 156 171 40 32...

output:

1 2 3 4 5 6 7 8 9 10 10 11 12 13 14 15 16 17 18 18 19 20 21 22 22 23 24 25 26 27 28 29 30 31 31 32 32 33 34 35 35 36 36 37 37 38 39 40 41 42 42 43 43 43 43 43 44 45 46 46 46 47 48 49 50 51 51 52 52 52 53 54 54 54 54 55 55 56 57 57 57 58 59 59 60 61 61 62 62 62 62 63 63 64 65 66 67 67 68 68 69 69 70 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 10 11 12 ...01 101 101 102 102 102 103 103 '

Test #20:

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

input:

118
81 34 62 25 56 75 114 36 28 78 33 30 60 89 21 96 71 39 83 13 70 94 76 31 95 10 46 65 100 54 85 12 69 44 29 51 102 63 38 49 8 19 50 47 72 67 52 92 15 37 32 98 57 17 82 9 23 11 61 55 43 40 16 27 64 73 68 59 87 74 86 58 48 14 22 20 93 66 6 91 35 18 79 26 45 101 112 97 99 77 84 42 80 41 7 113 53 88 ...

output:

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

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 10 11 12 ... 51 51 51 51 51 51 51 51 51 51 '

Test #21:

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

input:

102
16 55 25 48 45 56 77 38 69 47 43 42 15 22 90 76 59 39 72 73 57 26 21 27 75 88 18 17 44 53 52 58 14 49 87 61 70 20 74 51 41 40 54 19 24 46 50 60 23 71 38 17 39 71 25 39 88 44 38 21 87 23 49 61 15 14 76 26 15 73 19 58 16 14 53 45 50 56 77 47 74 48 24 69 42 55 19 72 18 88 18 54 73 47 14 58 41 88 87...

output:

1 2 3 4 5 5 6 7 8 8 9 9 9 10 11 11 12 12 13 13 14 14 14 15 16 17 18 18 18 19 19 19 20 21 21 22 22 23 23 24 25 25 25 25 25 25 25 25 25 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 26 

result:

ok single line: '1 2 3 4 5 5 6 7 8 8 9 9 9 10 1... 26 26 26 26 26 26 26 26 26 26 '

Subtask #2:

score: 14
Accepted

Test #22:

score: 14
Accepted
time: 1ms
memory: 5664kb

input:

3922
1195 63679 1195 96797 63679 60311 456263 228361 96797 270167 60311 169529 60311 60311 456263 270167 169529 375829 169529 169529 270167 375829 60311 228361 1195 375829 96797 375829 375829 96797 375829 169529 456263 375829 1195 375829 456263 96797 169529 228361 63679 270167 212365 456263 270167 9...

output:

1 2 2 3 3 4 5 6 6 7 7 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ...

result:

ok single line: '1 2 2 3 3 4 5 6 6 7 7 8 8 8 8 ... 10 10 10 10 10 10 10 10 10 10 '

Test #23:

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

input:

37546
255823 496819 131877 21777 481397 180879 90117 66725 83377 206249 93703 442885 435091 246437 179919 223849 27443 74433 142363 142363 16575 201329 389035 88823 155627 408387 435091 309967 88823 22319 432337 270795 18657 27443 281699 498715 246849 304111 308965 369639 390257 220525 419229 369639...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 19 20 21 22 23 24 25 25 26 26 27 28 29 30 30 31 32 33 34 35 36 37 38 39 39 39 39 40 41 42 43 43 43 44 44 45 45 46 47 48 48 49 50 51 52 52 52 52 53 53 54 55 55 55 55 56 57 57 57 57 57 58 58 59 59 59 60 61 61 62 62 63 63 63 63 64 64 64 64 64 65 65 66 67 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...00 100 100 100 100 100 100 100 '

Test #24:

score: 0
Accepted
time: 10ms
memory: 6212kb

input:

41860
276641 406759 283073 345379 165557 31359 390947 187927 340289 129395 49647 335337 276755 50995 268817 195463 51921 278123 222361 266371 113513 143919 260233 160821 303295 411785 13473 259459 224893 146469 413425 247107 131953 97541 379057 430675 317003 429927 38801 344173 145729 137651 491731 ...

output:

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 51 52 53 54 55 56 57 58 59 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 75 76 77 77 78 79 80 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...99 999 999 999 999 999 999 999 '

Test #25:

score: 0
Accepted
time: 21ms
memory: 6444kb

input:

98645
228089 101335 314019 349183 189145 106465 335897 227559 270541 83385 203093 453645 99857 42445 253521 211599 483607 160005 7323 359547 403049 301349 308095 164043 283581 243259 447263 429937 53907 67983 160567 446337 236571 74009 346389 421001 437029 369567 269085 484797 452647 295649 192387 1...

output:

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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 1...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 4963 4963 4963 4963 4963 4963 '

Test #26:

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

input:

37938
371865 311299 439211 57651 243619 275237 67255 417339 27961 292385 198517 138551 249959 198517 131583 470467 15027 144577 101869 212217 109183 495243 331507 100433 488509 215543 343675 156405 169655 283539 483755 238379 464877 138551 216991 355465 174199 424417 463555 117557 197285 104851 9678...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 65 65 66 67 68 69 70 71 72 73 74 75 75 76 77 78 79 80 81 82 83 84 84 85 86 86 87 88 89 90 91 92 93 94 95 96 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...49 549 549 549 549 549 549 549 '

Test #27:

score: 0
Accepted
time: 19ms
memory: 6216kb

input:

98592
116133 244261 349815 491501 218293 603 349619 464539 429783 387709 389157 499477 136739 48071 457169 264275 397795 47163 491491 432311 491491 317795 360071 211263 454581 277439 2803 324687 406151 275683 396913 389157 85773 475245 2911 90231 429399 361879 257399 407629 350913 367041 98407 15607...

output:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 20 21 22 23 24 25 26 27 28 29 30 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 55 56 57 58 59 59 60 61 62 63 64 65 66 67 68 68 69 70 71 72 73 74 75 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 90 91 91 92 92 93 94 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ...49 649 649 649 649 649 649 649 '

Test #28:

score: 0
Accepted
time: 17ms
memory: 6184kb

input:

64877
200321 203705 132935 6479 361745 132257 315203 224257 418049 51043 389507 27795 290325 69833 193285 116341 329025 364671 335887 279251 96755 6329 499601 449985 418891 462195 404295 338799 307309 43833 335857 351519 466465 381491 232083 496047 142741 172985 392001 488517 351519 43081 42587 2553...

output:

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 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 1...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 9789 9789 9789 9789 9789 9789 '

Test #29:

score: 0
Accepted
time: 19ms
memory: 6292kb

input:

86957
322751 66535 298877 11917 498879 84941 366627 147349 168351 21637 261557 174833 33771 170737 432793 163883 238023 300433 39315 44309 95213 459309 345731 376823 1813 282669 179685 402567 267345 180923 334641 351463 172709 126575 106739 370099 159455 142601 33959 262491 420225 320817 411159 3437...

output:

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 82421 82422 82423 82424 82425 '

Test #30:

score: 0
Accepted
time: 20ms
memory: 6132kb

input:

74315
450381 315661 190847 95339 119573 398563 128317 89533 145013 106335 321273 345231 111069 369235 346197 169383 297957 35339 394309 96145 155481 42591 102923 121267 292159 418543 245191 461041 117699 419991 115683 283105 439665 138993 53819 386019 70339 88581 344609 251317 444817 206855 251055 2...

output:

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 45240 45240 45241 45241 45241 '

Test #31:

score: 0
Accepted
time: 10ms
memory: 6220kb

input:

77662
298925 89327 252173 152445 432475 203675 310619 339357 188615 455979 240305 181673 113859 450661 466577 192157 105081 462889 101139 305705 71269 256935 245765 81435 464931 255945 415019 384231 364155 421677 488103 352859 180851 161651 13701 472159 417545 427241 316135 252955 145387 204873 4023...

output:

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 61139 61140 61140 61141 61142 '

Test #32:

score: 0
Accepted
time: 22ms
memory: 6280kb

input:

85651
43153 494803 147033 350157 286127 65207 447251 312119 484979 355199 420853 353143 205283 87617 264841 480939 246909 319937 122111 288691 440675 68267 317747 345829 190049 312201 293505 23119 108421 243437 94483 348163 309841 22709 235827 118391 269391 337247 20117 66757 255509 58667 355205 129...

output:

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 68434 68434 68435 68435 68435 '

Test #33:

score: 0
Accepted
time: 22ms
memory: 6372kb

input:

98467
287285 432145 473079 153163 309243 116271 84327 17907 119055 92927 24305 225385 4061 153569 340891 455081 266195 239133 374875 166663 42673 450249 58969 85715 496763 104353 377995 370817 422377 361345 33953 248741 134531 361689 204521 228563 334477 171343 294857 419279 367341 384247 281501 426...

output:

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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ...

result:

ok single line: '1 2 3 4 5 6 7 8 9 10 11 12 13 ... 71946 71946 71947 71948 71949 '

Subtask #3:

score: 0
Wrong Answer

Dependency #2:

100%
Accepted

Test #34:

score: 0
Wrong Answer
time: 10ms
memory: 4396kb

input:

84502
62 13 21 38 23 89 77 51 50 37 39 61 75 1 22 74 73 15 14 29 14 21 23 77 51 75 23 1 37 77 14 15 51 38 89 22 14 61 39 39 21 51 61 23 61 89 22 73 13 22 21 23 75 21 13 13 23 61 15 62 21 29 38 39 15 89 51 37 77 73 22 73 23 1 77 61 1 50 21 23 38 22 73 61 23 39 89 23 38 61 23 73 13 62 74 29 37 75 75 2...

output:


result:

wrong answer 1st lines differ - expected: '1 2 3 4 5 6 7 8 8 8 9 9 10 11 ...4 14 14 14 14 14 14 14 14 14 14', found: ''

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

100%
Accepted

Dependency #3:

0%