QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#270457 | #7840. Assessment Disruption | ucup-team1727# | AC ✓ | 0ms | 3980kb | C++14 | 816b | 2023-11-30 21:23:52 | 2023-11-30 21:23:53 |
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
Test #1:
score: 100
Accepted
time: 0ms
memory: 3848kb
input:
3 2500
output:
2502 0 2500 1000 2501 999
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
2 8124
output:
8121 0 8123 1000
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
3 3563
output:
3565 0 3563 1000 3564 999
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
4 6374
output:
6370 0 6369 1 6373 1000 6372 999
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
5 10000
output:
9995 0 9994 1 9999 1000 9998 999 9997 998
result:
ok correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
6 1444
output:
1447 0 1448 1 1449 2 1444 1000 1445 999 1446 998
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3868kb
input:
7 342
output:
346 0 347 1 348 2 342 1000 343 999 344 998 345 997
result:
ok correct
Test #8:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
8 0
output:
4 0 5 1 6 2 7 3 0 1000 1 999 2 998 3 997
result:
ok correct
Test #9:
score: 0
Accepted
time: 0ms
memory: 3844kb
input:
9 124
output:
129 0 130 1 131 2 132 3 124 1000 125 999 126 998 127 997 128 996
result:
ok correct
Test #10:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
10 11
output:
16 0 17 1 18 2 19 3 20 4 11 1000 12 999 13 998 14 997 15 996
result:
ok correct
Test #11:
score: 0
Accepted
time: 0ms
memory: 3776kb
input:
11 8
output:
14 0 15 1 16 2 17 3 18 4 8 1000 9 999 10 998 11 997 12 996 13 995
result:
ok correct
Test #12:
score: 0
Accepted
time: 0ms
memory: 3904kb
input:
12 10000
output:
9992 0 9991 1 9990 2 9989 3 9988 4 9987 5 9999 1000 9998 999 9997 998 9996 997 9995 996 9994 995
result:
ok correct
Test #13:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
13 9999
output:
9990 0 9989 1 9988 2 9987 3 9986 4 9985 5 9998 1000 9997 999 9996 998 9995 997 9994 996 9993 995 9992 994
result:
ok correct
Test #14:
score: 0
Accepted
time: 0ms
memory: 3788kb
input:
14 2345
output:
2352 0 2353 1 2354 2 2355 3 2356 4 2357 5 2358 6 2345 1000 2346 999 2347 998 2348 997 2349 996 2350 995 2351 994
result:
ok correct
Test #15:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
15 754
output:
762 0 763 1 764 2 765 3 766 4 767 5 768 6 754 1000 755 999 756 998 757 997 758 996 759 995 760 994 761 993
result:
ok correct
Test #16:
score: 0
Accepted
time: 0ms
memory: 3964kb
input:
16 8723
output:
8713 0 8712 1 8711 2 8710 3 8709 4 8708 5 8707 6 8706 7 8722 1000 8721 999 8720 998 8719 997 8718 996 8717 995 8716 994 8715 993
result:
ok correct
Test #17:
score: 0
Accepted
time: 0ms
memory: 3784kb
input:
17 9001
output:
8990 0 8989 1 8988 2 8987 3 8986 4 8985 5 8984 6 8983 7 9000 1000 8999 999 8998 998 8997 997 8996 996 8995 995 8994 994 8993 993 8992 992
result:
ok correct
Test #18:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
18 1245
output:
1254 0 1255 1 1256 2 1257 3 1258 4 1259 5 1260 6 1261 7 1262 8 1245 1000 1246 999 1247 998 1248 997 1249 996 1250 995 1251 994 1252 993 1253 992
result:
ok correct
Test #19:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
19 4324
output:
4334 0 4335 1 4336 2 4337 3 4338 4 4339 5 4340 6 4341 7 4342 8 4324 1000 4325 999 4326 998 4327 997 4328 996 4329 995 4330 994 4331 993 4332 992 4333 991
result:
ok correct
Test #20:
score: 0
Accepted
time: 0ms
memory: 3828kb
input:
20 3463
output:
3473 0 3474 1 3475 2 3476 3 3477 4 3478 5 3479 6 3480 7 3481 8 3482 9 3463 1000 3464 999 3465 998 3466 997 3467 996 3468 995 3469 994 3470 993 3471 992 3472 991
result:
ok correct
Test #21:
score: 0
Accepted
time: 0ms
memory: 3872kb
input:
21 2342
output:
2353 0 2354 1 2355 2 2356 3 2357 4 2358 5 2359 6 2360 7 2361 8 2362 9 2342 1000 2343 999 2344 998 2345 997 2346 996 2347 995 2348 994 2349 993 2350 992 2351 991 2352 990
result:
ok correct
Test #22:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
22 10000
output:
9987 0 9986 1 9985 2 9984 3 9983 4 9982 5 9981 6 9980 7 9979 8 9978 9 9977 10 9999 1000 9998 999 9997 998 9996 997 9995 996 9994 995 9993 994 9992 993 9991 992 9990 991 9989 990
result:
ok correct
Test #23:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
23 3424
output:
3436 0 3437 1 3438 2 3439 3 3440 4 3441 5 3442 6 3443 7 3444 8 3445 9 3446 10 3424 1000 3425 999 3426 998 3427 997 3428 996 3429 995 3430 994 3431 993 3432 992 3433 991 3434 990 3435 989
result:
ok correct
Test #24:
score: 0
Accepted
time: 0ms
memory: 3980kb
input:
24 1
output:
13 0 14 1 15 2 16 3 17 4 18 5 19 6 20 7 21 8 22 9 23 10 24 11 1 1000 2 999 3 998 4 997 5 996 6 995 7 994 8 993 9 992 10 991 11 990 12 989
result:
ok correct
Test #25:
score: 0
Accepted
time: 0ms
memory: 3936kb
input:
25 0
output:
13 0 14 1 15 2 16 3 17 4 18 5 19 6 20 7 21 8 22 9 23 10 24 11 0 1000 1 999 2 998 3 997 4 996 5 995 6 994 7 993 8 992 9 991 10 990 11 989 12 988
result:
ok correct
Test #26:
score: 0
Accepted
time: 0ms
memory: 3972kb
input:
99 0
output:
50 0 51 1 52 2 53 3 54 4 55 5 56 6 57 7 58 8 59 9 60 10 61 11 62 12 63 13 64 14 65 15 66 16 67 17 68 18 69 19 70 20 71 21 72 22 73 23 74 24 75 25 76 26 77 27 78 28 79 29 80 30 81 31 82 32 83 33 84 34 85 35 86 36 87 37 88 38 89 39 90 40 91 41 92 42 93 43 94 44 95 45 96 46 97 47 98 48 0 1000 1 999 2 9...
result:
ok correct
Test #27:
score: 0
Accepted
time: 0ms
memory: 3852kb
input:
99 1
output:
51 0 52 1 53 2 54 3 55 4 56 5 57 6 58 7 59 8 60 9 61 10 62 11 63 12 64 13 65 14 66 15 67 16 68 17 69 18 70 19 71 20 72 21 73 22 74 23 75 24 76 25 77 26 78 27 79 28 80 29 81 30 82 31 83 32 84 33 85 34 86 35 87 36 88 37 89 38 90 39 91 40 92 41 93 42 94 43 95 44 96 45 97 46 98 47 99 48 1 1000 2 999 3 9...
result:
ok correct
Test #28:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
99 6346
output:
6294 0 6293 1 6292 2 6291 3 6290 4 6289 5 6288 6 6287 7 6286 8 6285 9 6284 10 6283 11 6282 12 6281 13 6280 14 6279 15 6278 16 6277 17 6276 18 6275 19 6274 20 6273 21 6272 22 6271 23 6270 24 6269 25 6268 26 6267 27 6266 28 6265 29 6264 30 6263 31 6262 32 6261 33 6260 34 6259 35 6258 36 6257 37 6256 3...
result:
ok correct
Test #29:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
99 9999
output:
9947 0 9946 1 9945 2 9944 3 9943 4 9942 5 9941 6 9940 7 9939 8 9938 9 9937 10 9936 11 9935 12 9934 13 9933 14 9932 15 9931 16 9930 17 9929 18 9928 19 9927 20 9926 21 9925 22 9924 23 9923 24 9922 25 9921 26 9920 27 9919 28 9918 29 9917 30 9916 31 9915 32 9914 33 9913 34 9912 35 9911 36 9910 37 9909 3...
result:
ok correct
Test #30:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
99 10000
output:
9948 0 9947 1 9946 2 9945 3 9944 4 9943 5 9942 6 9941 7 9940 8 9939 9 9938 10 9937 11 9936 12 9935 13 9934 14 9933 15 9932 16 9931 17 9930 18 9929 19 9928 20 9927 21 9926 22 9925 23 9924 24 9923 25 9922 26 9921 27 9920 28 9919 29 9918 30 9917 31 9916 32 9915 33 9914 34 9913 35 9912 36 9911 37 9910 3...
result:
ok correct
Test #31:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
100 0
output:
50 0 51 1 52 2 53 3 54 4 55 5 56 6 57 7 58 8 59 9 60 10 61 11 62 12 63 13 64 14 65 15 66 16 67 17 68 18 69 19 70 20 71 21 72 22 73 23 74 24 75 25 76 26 77 27 78 28 79 29 80 30 81 31 82 32 83 33 84 34 85 35 86 36 87 37 88 38 89 39 90 40 91 41 92 42 93 43 94 44 95 45 96 46 97 47 98 48 99 49 0 1000 1 9...
result:
ok correct
Test #32:
score: 0
Accepted
time: 0ms
memory: 3972kb
input:
100 1
output:
51 0 52 1 53 2 54 3 55 4 56 5 57 6 58 7 59 8 60 9 61 10 62 11 63 12 64 13 65 14 66 15 67 16 68 17 69 18 70 19 71 20 72 21 73 22 74 23 75 24 76 25 77 26 78 27 79 28 80 29 81 30 82 31 83 32 84 33 85 34 86 35 87 36 88 37 89 38 90 39 91 40 92 41 93 42 94 43 95 44 96 45 97 46 98 47 99 48 100 49 1 1000 2 ...
result:
ok correct
Test #33:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
100 1244
output:
1294 0 1295 1 1296 2 1297 3 1298 4 1299 5 1300 6 1301 7 1302 8 1303 9 1304 10 1305 11 1306 12 1307 13 1308 14 1309 15 1310 16 1311 17 1312 18 1313 19 1314 20 1315 21 1316 22 1317 23 1318 24 1319 25 1320 26 1321 27 1322 28 1323 29 1324 30 1325 31 1326 32 1327 33 1328 34 1329 35 1330 36 1331 37 1332 3...
result:
ok correct
Test #34:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
100 9999
output:
9947 0 9946 1 9945 2 9944 3 9943 4 9942 5 9941 6 9940 7 9939 8 9938 9 9937 10 9936 11 9935 12 9934 13 9933 14 9932 15 9931 16 9930 17 9929 18 9928 19 9927 20 9926 21 9925 22 9924 23 9923 24 9922 25 9921 26 9920 27 9919 28 9918 29 9917 30 9916 31 9915 32 9914 33 9913 34 9912 35 9911 36 9910 37 9909 3...
result:
ok correct
Test #35:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
100 10000
output:
9948 0 9947 1 9946 2 9945 3 9944 4 9943 5 9942 6 9941 7 9940 8 9939 9 9938 10 9937 11 9936 12 9935 13 9934 14 9933 15 9932 16 9931 17 9930 18 9929 19 9928 20 9927 21 9926 22 9925 23 9924 24 9923 25 9922 26 9921 27 9920 28 9919 29 9918 30 9917 31 9916 32 9915 33 9914 34 9913 35 9912 36 9911 37 9910 3...
result:
ok correct
Test #36:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
999 0
output:
500 0 501 1 502 2 503 3 504 4 505 5 506 6 507 7 508 8 509 9 510 10 511 11 512 12 513 13 514 14 515 15 516 16 517 17 518 18 519 19 520 20 521 21 522 22 523 23 524 24 525 25 526 26 527 27 528 28 529 29 530 30 531 31 532 32 533 33 534 34 535 35 536 36 537 37 538 38 539 39 540 40 541 41 542 42 543 43 54...
result:
ok correct
Test #37:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
999 1
output:
501 0 502 1 503 2 504 3 505 4 506 5 507 6 508 7 509 8 510 9 511 10 512 11 513 12 514 13 515 14 516 15 517 16 518 17 519 18 520 19 521 20 522 21 523 22 524 23 525 24 526 25 527 26 528 27 529 28 530 29 531 30 532 31 533 32 534 33 535 34 536 35 537 36 538 37 539 38 540 39 541 40 542 41 543 42 544 43 54...
result:
ok correct
Test #38:
score: 0
Accepted
time: 0ms
memory: 3836kb
input:
999 4234
output:
4734 0 4735 1 4736 2 4737 3 4738 4 4739 5 4740 6 4741 7 4742 8 4743 9 4744 10 4745 11 4746 12 4747 13 4748 14 4749 15 4750 16 4751 17 4752 18 4753 19 4754 20 4755 21 4756 22 4757 23 4758 24 4759 25 4760 26 4761 27 4762 28 4763 29 4764 30 4765 31 4766 32 4767 33 4768 34 4769 35 4770 36 4771 37 4772 3...
result:
ok correct
Test #39:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
999 9999
output:
9497 0 9496 1 9495 2 9494 3 9493 4 9492 5 9491 6 9490 7 9489 8 9488 9 9487 10 9486 11 9485 12 9484 13 9483 14 9482 15 9481 16 9480 17 9479 18 9478 19 9477 20 9476 21 9475 22 9474 23 9473 24 9472 25 9471 26 9470 27 9469 28 9468 29 9467 30 9466 31 9465 32 9464 33 9463 34 9462 35 9461 36 9460 37 9459 3...
result:
ok correct
Test #40:
score: 0
Accepted
time: 0ms
memory: 3928kb
input:
999 10000
output:
9498 0 9497 1 9496 2 9495 3 9494 4 9493 5 9492 6 9491 7 9490 8 9489 9 9488 10 9487 11 9486 12 9485 13 9484 14 9483 15 9482 16 9481 17 9480 18 9479 19 9478 20 9477 21 9476 22 9475 23 9474 24 9473 25 9472 26 9471 27 9470 28 9469 29 9468 30 9467 31 9466 32 9465 33 9464 34 9463 35 9462 36 9461 37 9460 3...
result:
ok correct
Test #41:
score: 0
Accepted
time: 0ms
memory: 3912kb
input:
1000 0
output:
500 0 501 1 502 2 503 3 504 4 505 5 506 6 507 7 508 8 509 9 510 10 511 11 512 12 513 13 514 14 515 15 516 16 517 17 518 18 519 19 520 20 521 21 522 22 523 23 524 24 525 25 526 26 527 27 528 28 529 29 530 30 531 31 532 32 533 33 534 34 535 35 536 36 537 37 538 38 539 39 540 40 541 41 542 42 543 43 54...
result:
ok correct
Test #42:
score: 0
Accepted
time: 0ms
memory: 3864kb
input:
1000 1
output:
501 0 502 1 503 2 504 3 505 4 506 5 507 6 508 7 509 8 510 9 511 10 512 11 513 12 514 13 515 14 516 15 517 16 518 17 519 18 520 19 521 20 522 21 523 22 524 23 525 24 526 25 527 26 528 27 529 28 530 29 531 30 532 31 533 32 534 33 535 34 536 35 537 36 538 37 539 38 540 39 541 40 542 41 543 42 544 43 54...
result:
ok correct
Test #43:
score: 0
Accepted
time: 0ms
memory: 3932kb
input:
1000 1321
output:
1821 0 1822 1 1823 2 1824 3 1825 4 1826 5 1827 6 1828 7 1829 8 1830 9 1831 10 1832 11 1833 12 1834 13 1835 14 1836 15 1837 16 1838 17 1839 18 1840 19 1841 20 1842 21 1843 22 1844 23 1845 24 1846 25 1847 26 1848 27 1849 28 1850 29 1851 30 1852 31 1853 32 1854 33 1855 34 1856 35 1857 36 1858 37 1859 3...
result:
ok correct
Test #44:
score: 0
Accepted
time: 0ms
memory: 3924kb
input:
1000 9999
output:
9497 0 9496 1 9495 2 9494 3 9493 4 9492 5 9491 6 9490 7 9489 8 9488 9 9487 10 9486 11 9485 12 9484 13 9483 14 9482 15 9481 16 9480 17 9479 18 9478 19 9477 20 9476 21 9475 22 9474 23 9473 24 9472 25 9471 26 9470 27 9469 28 9468 29 9467 30 9466 31 9465 32 9464 33 9463 34 9462 35 9461 36 9460 37 9459 3...
result:
ok correct
Test #45:
score: 0
Accepted
time: 0ms
memory: 3972kb
input:
1000 10000
output:
9498 0 9497 1 9496 2 9495 3 9494 4 9493 5 9492 6 9491 7 9490 8 9489 9 9488 10 9487 11 9486 12 9485 13 9484 14 9483 15 9482 16 9481 17 9480 18 9479 19 9478 20 9477 21 9476 22 9475 23 9474 24 9473 25 9472 26 9471 27 9470 28 9469 29 9468 30 9467 31 9466 32 9465 33 9464 34 9463 35 9462 36 9461 37 9460 3...
result:
ok correct