QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#104015 | #6339. Cookies | BeyondHeaven | 12 | 129ms | 127660kb | C++17 | 2.2kb | 2023-05-08 11:00:11 | 2023-05-08 11:00:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Dangerous Syscalls
Test #1:
score: 6
Accepted
time: 2ms
memory: 3372kb
input:
1 1 1 1
output:
1 1 1
result:
ok good!
Test #2:
score: 0
Accepted
time: 0ms
memory: 3356kb
input:
2 1 1 1 1
output:
2 1 2 1 1
result:
ok good!
Test #3:
score: 0
Accepted
time: 2ms
memory: 3368kb
input:
2 1 1 1 2
output:
1 2 1 2
result:
ok good!
Test #4:
score: 0
Accepted
time: 2ms
memory: 3436kb
input:
2 1 1 2 1 2
output:
1 2 1 2
result:
ok good!
Test #5:
score: 0
Accepted
time: 2ms
memory: 3416kb
input:
4 1 1 1 1 2 2 3
output:
2 2 2 4 2 1 3
result:
ok good!
Test #6:
score: 0
Accepted
time: 2ms
memory: 3448kb
input:
8 1 1 1 1 1 1 1 1 3 1 4 5
output:
2 4 2 4 6 8 4 1 3 5 7
result:
ok good!
Test #7:
score: 0
Accepted
time: 2ms
memory: 7564kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
500 1 158 1 159 1 160 1 161 1 162 1 163 1 164 1 165 1 166 1 167 1 168 1 169 1 170 1 171 1 1 1 173 1 174 1 175 1 176 1 177 1 178 1 179 1 180 1 181 1 182 1 183 1 184 1 185 1 186 1 187 1 172 1 127 1 128 1 129 1 130 1 131 1 132 1 133 1 134 1 135 1 136 1 137 1 13...
result:
ok good!
Test #8:
score: 0
Accepted
time: 6ms
memory: 7504kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
1 500 329 344 343 342 341 340 339 338 337 336 335 334 333 332 331 330 345 328 327 326 325 324 323 322 321 320 319 318 317 316 315 314 360 375 374 373 372 371 370 369 368 367 366 365 364 363 362 361 313 359 358 357 356 355 354 353 352 351 350 349 348 347 346 266 281 280 279 278 277 276 275 274 273 27...
result:
ok good!
Test #9:
score: 0
Accepted
time: 129ms
memory: 127660kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
2 250 344 342 340 338 336 334 332 330 328 326 324 322 320 318 316 314 375 373 371 369 367 365 363 361 359 357 355 353 351 349 347 266 280 278 276 274 272 270 268 282 264 262 260 258 256 254 252 312 310 308 306 304 302 300 298 296 294 292 290 288 286 284 454 468 466 464 462 460 458 456 470 452 450 44...
result:
ok good!
Test #10:
score: 0
Accepted
time: 8ms
memory: 68012kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
-1
result:
ok no solution
Test #11:
score: 0
Accepted
time: 66ms
memory: 17424kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
11 45 330 319 371 313 349 275 264 253 304 293 454 459 448 500 489 478 404 393 382 433 251 411 88 77 66 118 107 96 22 11 62 51 40 217 206 195 247 236 225 151 140 129 180 169 158 45 331 320 372 361 350 276 265 254 305 294 283 460 449 485 490 479 405 394 383 434 423 412 89 78 67 119 108 97 23 12 47 52...
result:
ok good!
Test #12:
score: 0
Accepted
time: 4ms
memory: 37932kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
250 2 408 158 2 409 159 2 410 160 2 411 161 2 412 162 2 413 163 2 414 164 2 415 165 2 416 166 2 417 167 2 418 168 2 419 169 2 420 170 2 421 171 2 251 1 2 423 173 2 424 174 2 425 175 2 426 176 2 427 177 2 428 178 2 429 179 2 430 180 2 431 181 2 432 182 2 433 183 2 434 184 2...
result:
ok good!
Test #13:
score: 0
Accepted
time: 20ms
memory: 62320kb
input:
484 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
22 22 313 352 269 247 285 445 484 462 394 417 395 71 110 27 5 43 203 242 220 152 175 153 22 314 353 270 248 286 446 470 463 380 418 396 72 111 28 6 44 204 228 221 138 176 154 22 315 354 271 249 287 447 425 464 381 419 397 73 112 29 7 45 205 183 222 139 177 155 22 316 355 272 250 364 448 426 465 3...
result:
ok good!
Test #14:
score: 0
Accepted
time: 12ms
memory: 60944kb
input:
495 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
55 9 349 372 487 432 68 13 205 151 157 9 350 295 488 433 69 14 206 152 158 9 351 296 489 418 70 15 207 153 159 9 352 297 490 373 71 32 208 154 160 9 353 298 491 374 72 17 209 155 161 9 354 299 492 375 73 18 210 140 162 9 355 300 493 376 74 19 211 218 163 9 310 301 494 377 75 20 212 219 164 9...
result:
ok good!
Test #15:
score: 0
Accepted
time: 20ms
memory: 67404kb
input:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
4 125 342 338 334 330 326 322 318 314 373 369 365 361 357 353 349 266 278 274 270 282 262 258 254 312 308 304 300 296 292 288 284 468 464 460 456 452 448 444 440 499 495 491 487 483 479 475 471 404 400 396 392 388 384 380 422 434 430 426 251 418 414 410 94 90 86 82 78 74 70 66 125 121 117 113 109 10...
result:
ok good!
Test #16:
score: 0
Accepted
time: 6ms
memory: 7904kb
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
27 17 278 251 286 447 483 393 428 90 110 99 9 44 204 239 150 185 158 17 279 252 287 448 437 394 429 91 64 100 10 45 205 240 151 186 159 17 280 253 288 449 485 395 430 92 65 101 11 46 206 241 152 187 160 17 265 254 289 450 486 396 431 93 66 102 12 126 207 242 153 172 161 17 345 255 290 451 487 39...
result:
ok good!
Test #17:
score: 0
Accepted
time: 5ms
memory: 8860kb
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
19 17 400 381 424 94 75 119 100 18 61 42 210 191 188 153 134 177 158 23 259 303 285 455 484 482 401 382 425 79 76 120 101 19 62 43 211 192 235 154 135 178 159 27 344 374 357 277 260 304 286 456 438 483 402 383 426 407 77 121 102 20 47 44 212 193 236 155 136 179 160 27 329 359 358 278 261 305 287 ...
result:
ok good!
Test #18:
score: 0
Accepted
time: 7ms
memory: 8856kb
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
7 64 350 280 273 266 259 252 307 300 293 286 467 460 469 446 439 495 488 481 474 404 397 406 383 376 431 424 417 410 92 85 78 71 64 120 113 106 99 29 22 15 8 47 56 49 42 35 215 208 201 194 249 242 235 228 221 152 145 138 131 186 179 1 165 158 64 351 265 274 267 260 253 308 301 294 287 468 461 454 4...
result:
ok good!
Test #19:
score: 0
Accepted
time: 3ms
memory: 9660kb
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
4 56 67 110 122 118 114 63 106 102 98 31 27 23 19 15 11 7 3 61 57 53 49 45 41 37 33 216 212 208 204 200 196 192 234 246 242 238 188 230 226 222 156 152 148 144 140 136 132 128 186 182 178 174 170 166 162 158 56 68 64 123 119 115 111 107 103 99 16 28 24 20 32 12 8 4 62 58 54 50 46 42 38 34 217 213 2...
result:
ok good!
Test #20:
score: 0
Accepted
time: 8ms
memory: 31428kb
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
2 213 270 268 266 264 262 260 258 256 254 252 296 310 308 306 304 302 300 298 375 294 292 290 288 286 284 282 468 466 464 462 460 458 456 454 452 450 448 446 444 442 440 438 499 497 495 493 491 489 487 485 483 481 479 477 475 473 471 390 404 402 400 398 396 394 392 406 388 386 384 382 380 378 376 43...
result:
ok good!
Test #21:
score: -6
Dangerous Syscalls
input:
499 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:
result:
Subtask #2:
score: 0
Runtime Error
Test #28:
score: 7
Accepted
time: 2ms
memory: 3448kb
input:
1 15 1 1
output:
15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
result:
ok good!
Test #29:
score: 0
Accepted
time: 2ms
memory: 7480kb
input:
1 500 1 1
output:
500 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...
result:
ok good!
Test #30:
score: -7
Runtime Error
input:
1 3000 1 1
output:
result:
Subtask #3:
score: 12
Accepted
Test #45:
score: 12
Accepted
time: 2ms
memory: 3512kb
input:
2 7 8 2 1 2
output:
8 1 2 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1 2 2 1
result:
ok good!
Test #46:
score: 0
Accepted
time: 2ms
memory: 3452kb
input:
3 5 4 6 2 2 3
output:
6 2 3 2 2 3 1 2 3 1 3 3 1 2 3 3 1 2 3 3 1 2
result:
ok good!
Test #47:
score: 0
Accepted
time: 2ms
memory: 3504kb
input:
3 4 2 9 3 1 2 3
output:
9 1 3 1 3 1 3 2 3 2 2 3 2 2 3 1 2 3 1 2 3 1 2 3 1
result:
ok good!
Test #48:
score: 0
Accepted
time: 2ms
memory: 3520kb
input:
4 3 5 4 3 2 3 4
output:
5 3 2 1 4 3 2 3 4 3 2 3 4 3 2 3 1 3 2 3 1
result:
ok good!
Test #49:
score: 0
Accepted
time: 0ms
memory: 3424kb
input:
4 1 4 5 5 3 1 3 4
output:
5 3 3 4 1 3 3 4 2 3 3 4 2 3 3 4 2 3 3 4 2
result:
ok good!
Test #50:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
4 3 3 6 3 3 2 3 4
output:
6 2 3 4 2 3 4 2 3 4 3 3 1 2 3 3 1 2 3 3 1 2
result:
ok good!
Test #51:
score: 0
Accepted
time: 2ms
memory: 3448kb
input:
5 4 3 3 3 1 3 2 4 5
output:
4 2 1 5 4 1 2 3 4 4 1 2 3 4 4 1 2 3 4
result:
ok good!
Test #52:
score: 0
Accepted
time: 0ms
memory: 3520kb
input:
5 4 3 3 3 2 3 3 4 5
output:
4 3 1 4 5 4 1 2 3 5 4 1 2 3 4 4 1 2 3 4
result:
ok good!
Test #53:
score: 0
Accepted
time: 2ms
memory: 3488kb
input:
5 4 4 4 2 1 3 2 4 5
output:
5 2 2 3 2 1 3 2 1 2 4 1 2 3 4 5 1 2 3 4 5
result:
ok good!
Test #54:
score: 0
Accepted
time: 2ms
memory: 3444kb
input:
5 3 3 3 3 3 3 1 2 4
output:
5 1 5 2 4 5 4 1 2 3 5 4 1 2 3 4 4 1 2 3 4
result:
ok good!
Test #55:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
6 3 3 3 2 2 2 3 2 4 6
output:
-1
result:
ok no solution
Test #56:
score: 0
Accepted
time: 2ms
memory: 3464kb
input:
6 3 3 3 2 2 2 3 2 5 6
output:
3 5 1 2 3 5 6 5 1 2 3 4 6 5 1 2 3 4 5
result:
ok good!
Test #57:
score: 0
Accepted
time: 2ms
memory: 3468kb
input:
6 4 4 3 2 1 1 3 1 3 5
output:
5 3 2 3 6 3 1 3 5 3 1 2 4 3 1 2 4 3 1 2 3
result:
ok good!
Test #58:
score: 0
Accepted
time: 2ms
memory: 3564kb
input:
6 7 2 2 2 1 1 5 2 3 4 5 6
output:
7 2 1 6 2 1 5 2 1 4 2 1 4 2 1 3 2 1 2 3 1 2 3
result:
ok good!
Test #59:
score: 0
Accepted
time: 2ms
memory: 3496kb
input:
7 3 3 3 2 2 1 1 3 1 4 6
output:
4 1 7 4 1 2 3 5 4 1 2 3 4 6 1 2 3 4 5 6
result:
ok good!
Test #60:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
7 4 4 3 1 1 1 1 3 1 4 6
output:
6 1 7 1 2 1 1 4 1 2 3 6 4 1 2 3 5 4 1 2 3 4
result:
ok good!
Test #61:
score: 0
Accepted
time: 2ms
memory: 3540kb
input:
8 2 2 2 2 2 2 2 1 6 1 2 3 4 6 7
output:
3 4 2 4 6 8 4 1 3 5 7 7 1 2 3 4 5 6 7
result:
ok good!
Test #62:
score: 0
Accepted
time: 0ms
memory: 3452kb
input:
8 3 3 3 2 1 1 1 1 4 4 6 7 8
output:
3 4 1 2 3 8 4 1 2 3 4 7 1 2 3 4 5 6 7
result:
ok good!
Test #63:
score: 0
Accepted
time: 2ms
memory: 3460kb
input:
8 4 3 3 1 1 1 1 1 4 1 6 7 8
output:
8 1 3 1 3 1 2 1 2 1 1 1 1 1 1 8 1 2 3 4 5 6 7 8
result:
ok good!
Test #64:
score: 0
Accepted
time: 1ms
memory: 3464kb
input:
9 4 3 2 1 1 1 1 1 1 4 3 4 5 7
output:
4 3 1 5 9 4 1 2 4 8 4 1 2 3 7 4 1 2 3 6
result:
ok good!
Test #65:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
12 3 2 1 1 1 1 1 1 1 1 1 1 9 1 4 5 6 7 8 9 10 11
output:
3 5 1 3 6 9 12 5 1 2 5 8 11 5 1 2 4 7 10
result:
ok good!
Test #66:
score: 0
Accepted
time: 2ms
memory: 3544kb
input:
14 2 1 1 1 1 1 1 1 1 1 1 1 1 1 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14
output:
2 7 1 4 6 8 10 12 14 8 1 2 3 5 7 9 11 13
result:
ok good!
Test #67:
score: 0
Accepted
time: 2ms
memory: 3472kb
input:
4 2 2 2 1 2 1 4
output:
4 1 3 1 2 1 1 4 1 2 3 4
result:
ok good!
Subtask #4:
score: 0
Skipped
Dependency #1:
0%
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Skipped
Dependency #1:
0%