QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#503759#3975. Code Cleanupsxiaowuc1AC ✓0ms3828kbC++171.0kb2024-08-04 01:02:232024-08-04 01:02:24

詳細信息

Test #1:

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

input:

5
1 45 65 84 346

output:

4

result:

ok single line: '4'

Test #2:

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

input:

3
310 330 350

output:

3

result:

ok single line: '3'

Test #3:

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

input:

1
1

output:

1

result:

ok single line: '1'

Test #4:

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

input:

1
365

output:

1

result:

ok single line: '1'

Test #5:

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

input:

1
345

output:

1

result:

ok single line: '1'

Test #6:

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

input:

1
346

output:

1

result:

ok single line: '1'

Test #7:

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

input:

2
19 38

output:

1

result:

ok single line: '1'

Test #8:

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

input:

2
20 40

output:

2

result:

ok single line: '2'

Test #9:

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

input:

4
61 69 171 284

output:

3

result:

ok single line: '3'

Test #10:

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

input:

7
36 101 115 189 241 277 348

output:

6

result:

ok single line: '6'

Test #11:

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

input:

12
20 45 70 106 146 226 236 252 269 276 308 365

output:

10

result:

ok single line: '10'

Test #12:

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

input:

20
1 3 14 15 30 59 60 70 71 98 106 126 153 167 189 218 250 305 319 321

output:

12

result:

ok single line: '12'

Test #13:

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

input:

34
4 11 33 43 47 56 58 65 68 79 83 95 103 115 127 135 147 160 176 199 207 222 223 226 229 231 243 254 258 282 292 319 334 346

output:

15

result:

ok single line: '15'

Test #14:

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

input:

51
6 22 25 28 35 42 47 74 78 81 90 96 105 111 126 133 135 142 155 161 185 202 205 209 212 213 221 224 227 228 229 245 253 257 258 269 270 271 291 319 324 332 339 341 344 347 354 356 361 363 364

output:

19

result:

ok single line: '19'

Test #15:

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

input:

54
2 7 13 37 38 46 53 63 65 69 81 90 95 98 103 105 126 132 136 147 150 160 165 177 182 184 185 200 201 225 226 238 246 256 260 263 273 278 282 285 287 290 291 303 308 312 314 325 328 331 334 347 358 361

output:

19

result:

ok single line: '19'

Test #16:

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

input:

65
3 5 14 15 19 21 25 29 34 38 42 43 45 46 52 64 79 88 99 102 106 112 117 127 131 134 141 143 150 151 154 157 160 167 173 182 186 190 199 208 209 221 227 234 245 249 256 271 278 280 283 296 301 303 312 319 321 328 336 337 356 357 358 360 364

output:

23

result:

ok single line: '23'

Test #17:

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

input:

78
5 6 7 11 13 14 20 24 35 36 39 40 54 55 59 65 69 86 91 118 125 137 138 148 154 157 158 164 167 170 175 181 185 188 189 194 198 201 206 207 208 212 219 221 222 223 230 234 235 239 243 244 247 248 249 256 258 265 266 267 268 271 276 277 280 283 302 307 308 309 317 319 337 338 344 349 359 361

output:

25

result:

ok single line: '25'

Test #18:

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

input:

101
2 18 21 26 33 35 38 39 40 44 45 47 48 53 61 67 68 72 74 75 78 79 82 85 86 90 94 95 96 97 99 100 103 107 108 109 116 118 122 127 128 143 144 152 155 162 163 164 169 172 173 174 176 177 188 193 195 200 202 204 212 214 215 218 220 223 224 225 227 232 236 241 243 246 249 254 258 261 270 271 272 273 ...

output:

30

result:

ok single line: '30'

Test #19:

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

input:

113
1 5 7 10 13 15 18 24 25 32 33 35 37 39 41 42 44 46 54 58 64 66 68 73 75 85 86 92 93 97 101 105 109 110 111 112 114 116 119 125 126 130 132 136 137 139 147 155 156 157 165 170 174 175 180 182 183 184 185 190 194 202 204 214 216 217 219 220 222 224 227 229 230 236 239 245 246 247 248 249 256 257 2...

output:

32

result:

ok single line: '32'

Test #20:

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

input:

125
3 4 5 7 12 14 15 17 18 22 23 24 29 32 34 47 49 50 52 54 72 80 81 83 85 86 88 90 91 96 99 102 110 116 117 120 124 130 131 140 141 143 145 151 152 155 156 164 167 168 174 175 177 178 180 182 185 186 187 190 191 194 197 200 202 203 204 207 211 213 214 217 218 222 224 229 231 232 233 238 239 242 243...

output:

31

result:

ok single line: '31'

Test #21:

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

input:

157
1 2 3 6 8 12 13 17 20 22 24 25 26 27 28 29 30 32 35 41 44 46 47 48 49 50 51 56 57 60 64 67 68 69 74 77 80 82 86 88 91 92 96 97 101 104 109 110 113 116 120 122 123 124 125 129 131 134 137 138 139 140 142 145 147 151 154 155 160 161 162 163 169 170 171 172 174 176 177 178 179 183 185 187 188 189 1...

output:

37

result:

ok single line: '37'

Test #22:

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

input:

197
1 2 8 13 14 15 16 17 19 22 23 24 25 29 30 33 36 39 40 41 43 51 52 53 55 58 59 60 61 62 63 64 65 67 68 71 73 74 76 77 79 80 81 82 86 91 94 95 97 102 107 108 109 110 112 113 114 115 117 118 119 122 126 128 130 131 132 136 137 138 139 141 142 143 144 147 149 150 152 153 155 157 159 160 163 164 165 ...

output:

42

result:

ok single line: '42'

Test #23:

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

input:

224
5 7 8 9 10 11 12 13 15 16 19 22 25 26 27 29 30 31 35 36 37 38 42 43 44 45 46 47 48 49 51 52 53 54 55 59 60 62 66 67 69 71 74 77 78 80 81 82 83 84 85 87 89 92 93 94 95 97 100 102 104 105 107 108 110 111 112 113 115 116 117 118 119 120 121 122 123 124 127 128 129 131 132 136 137 140 141 142 143 14...

output:

46

result:

ok single line: '46'

Test #24:

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

input:

246
1 3 4 5 6 7 9 11 12 15 17 19 20 21 22 23 24 26 27 29 30 31 32 33 36 39 40 41 42 43 46 47 48 50 51 52 54 56 57 63 64 65 66 67 68 70 75 76 77 78 79 80 82 83 84 85 86 87 88 90 91 92 93 97 98 100 101 102 103 104 105 107 108 111 112 113 114 115 117 118 120 121 122 123 126 127 128 129 134 135 136 138 ...

output:

47

result:

ok single line: '47'

Test #25:

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

input:

265
2 3 4 5 7 9 10 11 12 13 16 18 20 21 25 26 27 28 29 33 37 38 39 40 41 43 45 47 49 50 52 53 54 57 58 59 61 62 63 67 68 70 71 72 74 77 78 80 81 82 84 85 87 88 90 91 92 94 96 97 98 99 100 101 102 104 105 106 110 111 112 113 114 115 116 117 120 123 124 125 126 129 130 132 135 136 137 138 139 140 141 ...

output:

50

result:

ok single line: '50'

Test #26:

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

input:

270
1 3 5 6 7 8 9 10 12 13 14 15 16 17 18 19 22 23 25 26 27 28 32 34 35 36 38 39 41 45 47 48 49 51 52 53 55 56 57 59 61 63 64 65 66 67 68 69 70 71 72 73 75 77 78 79 80 85 86 87 88 90 91 92 93 94 95 99 101 102 103 105 106 107 108 110 111 112 113 115 118 119 120 123 125 126 127 130 131 134 135 136 137...

output:

50

result:

ok single line: '50'

Test #27:

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

input:

333
1 2 3 4 5 7 8 9 11 12 13 14 15 17 18 19 20 21 22 23 24 25 26 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 58 60 62 63 64 65 66 67 68 69 70 71 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 103 104 105 106 107...

output:

58

result:

ok single line: '58'

Test #28:

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

input:

345
1 2 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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 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 103 ...

output:

59

result:

ok single line: '59'

Test #29:

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

input:

365
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 ...

output:

61

result:

ok single line: '61'