QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#863511 | #8004. Bit Component | ucup-team4540# | AC ✓ | 11ms | 8056kb | C++20 | 1.8kb | 2025-01-19 18:24:46 | 2025-01-19 18:24:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 1ms
memory: 3712kb
input:
1
output:
YES 1
result:
ok answer is 1
Test #2:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
2
output:
NO
result:
ok answer is 0
Test #3:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
3
output:
YES 2 3 1
result:
ok answer is 1
Test #4:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
4
output:
NO
result:
ok answer is 0
Test #5:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
5
output:
NO
result:
ok answer is 0
Test #6:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
6
output:
NO
result:
ok answer is 0
Test #7:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
7
output:
YES 7 5 4 6 2 3 1
result:
ok answer is 1
Test #8:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
8
output:
NO
result:
ok answer is 0
Test #9:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
9
output:
NO
result:
ok answer is 0
Test #10:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
10
output:
NO
result:
ok answer is 0
Test #11:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
11
output:
NO
result:
ok answer is 0
Test #12:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
12
output:
NO
result:
ok answer is 0
Test #13:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
13
output:
YES 12 8 10 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #14:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
14
output:
YES 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #15:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
15
output:
YES 15 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #16:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
16
output:
NO
result:
ok answer is 0
Test #17:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
17
output:
NO
result:
ok answer is 0
Test #18:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
23
output:
NO
result:
ok answer is 0
Test #19:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
24
output:
NO
result:
ok answer is 0
Test #20:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
25
output:
YES 24 16 23 21 20 22 18 19 17 25 15 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #21:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
26
output:
YES 24 16 23 21 20 22 18 26 19 17 25 15 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #22:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
27
output:
YES 24 16 23 21 20 22 18 26 19 27 17 25 15 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #23:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
40
output:
NO
result:
ok answer is 0
Test #24:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
53
output:
YES 48 32 47 44 40 42 46 43 41 45 39 37 53 36 52 38 34 50 35 51 33 49 31 24 16 23 21 29 20 28 22 30 18 26 19 27 17 25 15 12 8 10 14 11 9 13 7 5 4 6 2 3 1
result:
ok answer is 1
Test #25:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
93
output:
NO
result:
ok answer is 0
Test #26:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
105
output:
YES 96 64 95 88 80 87 85 93 84 92 86 94 82 90 83 91 81 89 79 76 72 104 74 78 75 73 105 77 71 103 69 101 68 100 70 102 66 98 67 99 65 97 63 48 32 47 44 60 40 56 42 58 46 62 43 59 41 57 45 61 39 55 37 53 36 52 38 54 34 50 35 51 33 49 31 24 16 23 21 29 20 28 22 30 18 26 19 27 17 25 15 12 8 10 14 11 9 1...
result:
ok answer is 1
Test #27:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
132
output:
NO
result:
ok answer is 0
Test #28:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
221
output:
YES 192 128 191 176 160 175 172 188 168 184 170 186 174 190 171 187 169 185 173 189 167 183 165 181 164 180 166 182 162 178 163 179 161 177 159 152 216 144 208 151 215 149 213 157 221 148 212 156 220 150 214 158 146 210 154 218 147 211 155 219 145 209 153 217 143 207 140 204 136 200 138 202 142 206 ...
result:
ok answer is 1
Test #29:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
373
output:
NO
result:
ok answer is 0
Test #30:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
473
output:
YES 384 256 383 352 320 448 351 344 472 376 336 464 368 343 471 375 341 469 373 349 381 340 468 372 348 380 342 470 374 350 382 338 466 370 346 378 339 467 371 347 379 337 465 369 345 473 377 335 463 367 332 460 364 328 456 360 330 458 362 334 462 366 331 459 363 329 457 361 333 461 365 327 455 359 ...
result:
ok answer is 1
Test #31:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
513
output:
NO
result:
ok answer is 0
Test #32:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
934
output:
YES 768 512 767 704 640 896 703 688 752 672 928 736 687 751 684 748 700 764 680 744 696 760 682 746 698 762 686 750 702 766 683 747 699 763 681 745 697 761 685 749 701 765 679 743 695 759 677 933 741 693 757 676 932 740 692 756 678 934 742 694 758 674 930 738 690 754 675 931 739 691 755 673 929 737 ...
result:
ok answer is 1
Test #33:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
1356
output:
NO
result:
ok answer is 0
Test #34:
score: 0
Accepted
time: 1ms
memory: 3968kb
input:
1651
output:
YES 1536 1024 1535 1408 1280 1407 1376 1504 1344 1472 1375 1503 1368 1496 1400 1528 1360 1488 1392 1520 1367 1495 1399 1527 1365 1493 1397 1525 1373 1501 1405 1533 1364 1492 1396 1524 1372 1500 1404 1532 1366 1494 1398 1526 1374 1502 1406 1534 1362 1490 1394 1522 1370 1498 1402 1530 1363 1491 1395 1...
result:
ok answer is 1
Test #35:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
2263
output:
NO
result:
ok answer is 0
Test #36:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
3330
output:
YES 3072 2048 3071 2816 2560 2815 2752 3008 2688 2944 2751 3007 2736 2992 2800 3056 2720 2976 2784 3040 2735 2991 2799 3055 2732 2988 2796 3052 2748 3004 2812 3068 2728 2984 2792 3048 2744 3000 2808 3064 2730 2986 2794 3050 2746 3002 2810 3066 2734 2990 2798 3054 2750 3006 2814 3070 2731 2987 2795 3...
result:
ok answer is 1
Test #37:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
4375
output:
NO
result:
ok answer is 0
Test #38:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
7989
output:
YES 6144 4096 6143 5632 7680 5120 7168 5631 7679 5504 7552 6016 5376 7424 5888 7936 5503 7551 6015 5472 7520 5984 5600 7648 6112 5440 7488 5952 5568 7616 6080 5471 7519 5983 5599 7647 6111 5464 7512 5976 5592 7640 6104 5496 7544 6008 5624 7672 6136 5456 7504 5968 5584 7632 6096 5488 7536 6000 5616 7...
result:
ok answer is 1
Test #39:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
10925
output:
NO
result:
ok answer is 0
Test #40:
score: 0
Accepted
time: 1ms
memory: 4212kb
input:
14097
output:
YES 12288 8192 12287 11264 10240 11263 11008 12032 10752 11776 11007 12031 10944 11968 11200 12224 10880 11904 11136 12160 10943 11967 11199 12223 10928 11952 11184 12208 10992 12016 11248 12272 10912 11936 11168 12192 10976 12000 11232 12256 10927 11951 11183 12207 10991 12015 11247 12271 10924 119...
result:
ok answer is 1
Test #41:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
16893
output:
NO
result:
ok answer is 0
Test #42:
score: 0
Accepted
time: 0ms
memory: 4200kb
input:
28913
output:
YES 24576 16384 24575 22528 20480 28672 22527 22016 24064 21504 23552 22015 24063 21888 23936 22400 24448 21760 23808 22272 24320 21887 23935 22399 24447 21856 23904 22368 24416 21984 24032 22496 24544 21824 23872 22336 24384 21952 24000 22464 24512 21855 23903 22367 24415 21983 24031 22495 24543 21...
result:
ok answer is 1
Test #43:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
40092
output:
NO
result:
ok answer is 0
Test #44:
score: 0
Accepted
time: 4ms
memory: 4724kb
input:
54980
output:
YES 49152 32768 49151 45056 40960 45055 44032 48128 43008 47104 44031 48127 43776 47872 44800 48896 43520 47616 44544 48640 43775 47871 44799 48895 43712 47808 44736 48832 43968 48064 44992 49088 43648 47744 44672 48768 43904 48000 44928 49024 43711 47807 44735 48831 43967 48063 44991 49087 43696 47...
result:
ok answer is 1
Test #45:
score: 0
Accepted
time: 1ms
memory: 3840kb
input:
88104
output:
NO
result:
ok answer is 0
Test #46:
score: 0
Accepted
time: 5ms
memory: 5744kb
input:
106284
output:
YES 98304 65536 98303 90112 81920 90111 88064 96256 86016 94208 88063 96255 87552 95744 89600 97792 87040 95232 89088 97280 87551 95743 89599 97791 87424 95616 89472 97664 87936 96128 89984 98176 87296 95488 89344 97536 87808 96000 89856 98048 87423 95615 89471 97663 87935 96127 89983 98175 87392 95...
result:
ok answer is 1
Test #47:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
152797
output:
NO
result:
ok answer is 0
Test #48:
score: 0
Accepted
time: 11ms
memory: 8056kb
input:
200000
output:
YES 196608 131072 196607 180224 163840 180223 176128 192512 172032 188416 176127 192511 175104 191488 179200 195584 174080 190464 178176 194560 175103 191487 179199 195583 174848 191232 178944 195328 175872 192256 179968 196352 174592 190976 178688 195072 175616 192000 179712 196096 174847 191231 17...
result:
ok answer is 1
Test #49:
score: 0
Accepted
time: 0ms
memory: 4096kb
input:
3073
output:
YES 3072 2048 3071 2816 2560 2815 2752 3008 2688 2944 2751 3007 2736 2992 2800 3056 2720 2976 2784 3040 2735 2991 2799 3055 2732 2988 2796 3052 2748 3004 2812 3068 2728 2984 2792 3048 2744 3000 2808 3064 2730 2986 2794 3050 2746 3002 2810 3066 2734 2990 2798 3054 2750 3006 2814 3070 2731 2987 2795 3...
result:
ok answer is 1
Test #50:
score: 0
Accepted
time: 1ms
memory: 4096kb
input:
16383
output:
YES 16383 12288 8192 12287 11264 15360 10240 14336 11263 15359 11008 15104 12032 16128 10752 14848 11776 15872 11007 15103 12031 16127 10944 15040 11968 16064 11200 15296 12224 16320 10880 14976 11904 16000 11136 15232 12160 16256 10943 15039 11967 16063 11199 15295 12223 16319 10928 15024 11952 160...
result:
ok answer is 1
Test #51:
score: 0
Accepted
time: 1ms
memory: 4224kb
input:
32767
output:
YES 32767 24576 16384 24575 22528 30720 20480 28672 22527 30719 22016 30208 24064 32256 21504 29696 23552 31744 22015 30207 24063 32255 21888 30080 23936 32128 22400 30592 24448 32640 21760 29952 23808 32000 22272 30464 24320 32512 21887 30079 23935 32127 22399 30591 24447 32639 21856 30048 23904 32...
result:
ok answer is 1
Test #52:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
399
output:
YES 384 256 383 352 320 351 344 376 336 368 343 375 341 373 349 381 340 372 348 380 342 374 350 382 338 370 346 378 339 371 347 379 337 369 345 377 335 367 332 364 328 360 330 362 334 366 331 363 329 361 333 365 327 359 325 357 324 356 326 358 322 354 323 355 321 353 319 304 288 303 300 316 296 312 ...
result:
ok answer is 1
Test #53:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
5757
output:
NO
result:
ok answer is 0
Test #54:
score: 0
Accepted
time: 0ms
memory: 3968kb
input:
179
output:
NO
result:
ok answer is 0
Test #55:
score: 0
Accepted
time: 0ms
memory: 3840kb
input:
228
output:
YES 192 128 191 176 160 224 175 172 188 168 184 170 186 174 190 171 187 169 185 173 189 167 183 165 181 164 228 180 166 182 162 226 178 163 227 179 161 225 177 159 223 152 216 144 208 151 215 149 213 157 221 148 212 156 220 150 214 158 222 146 210 154 218 147 211 155 219 145 209 153 217 143 207 140 ...
result:
ok answer is 1
Extra Test:
score: 0
Extra Test Passed