QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#487160 | #4929. Longest Unfriendly Subsequence | MaMengQi | 3 | 84ms | 17616kb | C++23 | 777b | 2024-07-22 17:15:09 | 2024-07-22 17:15:09 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Subtask #1:
score: 3
Accepted
Test #1:
score: 3
Accepted
time: 50ms
memory: 5348kb
input:
1 200000 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 259021863 2...
output:
1
result:
ok single line: '1'
Test #2:
score: 3
Accepted
time: 84ms
memory: 17616kb
input:
1 200000 1521 1638 11981 18811 20091 22081 30494 31501 42139 42282 48197 55520 57632 69584 81745 85026 90303 91482 92176 98507 108061 108743 111257 121226 127217 127449 137116 163474 169192 175764 181243 185402 191244 198775 202845 212156 217723 220058 223478 224205 227614 228398 230425 232567 24480...
output:
198858
result:
ok single line: '198858'
Test #3:
score: 3
Accepted
time: 51ms
memory: 5068kb
input:
1 200000 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 222796328 2...
output:
3
result:
ok single line: '3'
Test #4:
score: 3
Accepted
time: 51ms
memory: 6120kb
input:
1 200000 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 760101 7601...
output:
575
result:
ok single line: '575'
Test #5:
score: 3
Accepted
time: 77ms
memory: 14208kb
input:
1 200000 22617 30507 37038 41687 43064 43064 49267 55626 59203 73739 82817 99920 109370 115622 115622 121135 121135 129717 129717 133074 133133 133133 142580 142580 142580 154213 154816 154816 161169 180270 186425 208068 213631 237721 252184 261468 266076 271129 271129 272992 278768 279170 299395 31...
output:
136202
result:
ok single line: '136202'
Test #6:
score: 3
Accepted
time: 51ms
memory: 4388kb
input:
5 24325 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 558278563 55...
output:
3 143 605 169 1
result:
ok 5 lines
Test #7:
score: 3
Accepted
time: 66ms
memory: 8728kb
input:
5 86417 13696 27186 31482 38856 51078 60129 60129 63547 67673 87520 97892 99326 118061 118645 146408 154082 166604 178823 201607 241484 250276 265112 265112 265112 266533 267321 312070 312070 314782 320641 321224 325817 328085 351487 365110 374487 382485 385081 393245 400245 419177 421858 423028 426...
output:
68280 264 2 26943 5
result:
ok 5 lines
Test #8:
score: 3
Accepted
time: 46ms
memory: 4448kb
input:
5 2977 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112394126 112...
output:
5 2 186 403 3
result:
ok 5 lines
Test #9:
score: 3
Accepted
time: 55ms
memory: 5420kb
input:
20 11481 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 2249526 224...
output:
84 1 6616 5 157 3 4 173 2652 64 73 2669 97 22009 20 36 4231 33 1 8816
result:
ok 20 lines
Test #10:
score: 3
Accepted
time: 49ms
memory: 4108kb
input:
100 1273 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 276188388 2...
output:
4 3 2906 3 2038 1262 2671 102 1 3 771 34 58 30 2 300 21 106 1 1 72 1 22 1123 5 547 5182 2 87 85 4 1370 158 74 2 1098 61 1027 11 82 1 377 2 715 5 52 67 3 472 158 1 58 6836 75 712 2 59 2 4 52 16 5 2 78 273 4281 36 1178 60 16 2 22 421 5 11 11 33 5 74 3 2 3 3 1770 5 2172 5 67 5 4 480 514 5 57 461 39 5 3...
result:
ok 100 lines
Test #11:
score: 3
Accepted
time: 54ms
memory: 5956kb
input:
1000 309 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 4317803 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 49219507 134343195 241438227 241438227 241438227 241438227 241...
output:
19 4 52 20 182 1 4 91 4 84 2 121 18 14 1 22 9 10 2 7 150 9 76 9 5 5 10 17 46 2 25 17 4 40 397 13 157 12 5 5 78 6 99 3 287 20 86 26 16 8 24 329 28 11 4 9 4 4 10 182 35 20 117 41 1 5 54 1 713 111 8 5 4 2 18 3 38 72 8 1 17 3 2 9 14 25 5 3 2 15 140 6 7 173 81 5 30 2 5 2 8 52 3 16 58 2 146 8 31 4 458 2 1...
result:
ok 1000 lines
Test #12:
score: 3
Accepted
time: 50ms
memory: 3804kb
input:
10000 13 116636133 116636133 206284888 206284888 565476781 812400365 812400365 961195858 961195858 961195858 961195858 961195858 961195858 2 8191780 8191780 43 95905577 95905577 95905577 95905577 95905577 95905577 487815159 487815159 602877460 602877460 602877460 602877460 602877460 602877460 602877...
output:
5 1 8 2 3 10 13 1 2 2 4 2 2 1 5 1 21 3 1 11 13 1 9 1 2 1 2 3 1 8 6 3 26 2 2 3 26 1 15 2 8 1 1 11 9 2 6 2 2 2 10 6 3 8 5 3 2 6 6 16 5 5 2 11 6 1 3 1 1 2 32 5 9 1 1 11 8 3 1 1 3 3 1 3 26 1 43 1 10 1 8 2 1 1 3 21 30 5 19 1 5 16 2 18 1 1 1 13 3 3 4 3 23 3 3 2 1 10 1 13 2 1 14 4 1 3 7 1 1 1 1 2 14 3 5 5 ...
result:
ok 10000 lines
Test #13:
score: 3
Accepted
time: 55ms
memory: 3532kb
input:
30000 18 77687359 77687359 77687359 77687359 77687359 77687359 77687359 77687359 264737334 264737334 264737334 264737334 423170703 423170703 423170703 423170703 423170703 423170703 3 426699491 894864848 895502688 23 329836738 329836738 329836738 329836738 329836738 329836738 329836738 329836738 3298...
output:
3 3 4 2 1 4 3 1 5 1 2 2 2 5 2 3 2 1 10 1 2 3 1 4 1 2 1 4 5 2 4 3 3 1 1 1 4 5 1 2 1 6 4 1 10 10 24 1 15 1 1 1 2 1 8 7 1 1 2 3 4 4 4 2 4 3 5 3 5 2 5 15 2 1 1 2 1 1 1 3 5 4 11 1 2 2 7 4 2 1 9 1 1 1 3 1 3 2 1 5 1 2 10 3 4 1 5 8 1 3 7 4 1 1 1 1 2 4 5 3 3 1 1 1 2 2 3 3 5 5 2 4 11 2 2 1 1 5 2 1 1 2 5 5 4 4...
result:
ok 30000 lines
Test #14:
score: 3
Accepted
time: 1ms
memory: 3716kb
input:
1 10000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 ...
output:
1
result:
ok single line: '1'
Subtask #2:
score: 0
Wrong Answer
Test #15:
score: 0
Wrong Answer
time: 0ms
memory: 3524kb
input:
3 5 1 2 1 2 1 7 1 2 3 2 1 2 3 8 1 10 10 1 1 100 100 1
output:
2 6 5
result:
wrong answer 3rd lines differ - expected: '4', found: '5'
Subtask #3:
score: 0
Wrong Answer
Test #19:
score: 8
Accepted
time: 15ms
memory: 4616kb
input:
1 500 537076440 691668159 871942500 537076440 537076440 691668159 871942500 871942500 537076440 691668159 871942500 537076440 691668159 871942500 537076440 691668159 871942500 537076440 691668159 871942500 537076440 691668159 871942500 871942500 537076440 691668159 871942500 537076440 537076440 6916...
output:
361
result:
ok single line: '361'
Test #20:
score: 8
Accepted
time: 11ms
memory: 4552kb
input:
1 500 584142119 101442702 335815880 584142119 101442702 335815880 584142119 101442702 335815880 584142119 101442702 335815880 584142119 101442702 101442702 335815880 335815880 584142119 584142119 101442702 101442702 335815880 584142119 101442702 335815880 584142119 101442702 335815880 584142119 1014...
output:
394
result:
ok single line: '394'
Test #21:
score: 8
Accepted
time: 15ms
memory: 4620kb
input:
1 500 296341737 806184542 989331127 989331127 296341737 806184542 455929030 296341737 806184542 806184542 806184542 989331127 296341737 806184542 989331127 296341737 806184542 989331127 296341737 806184542 989331127 296341737 806184542 806184542 989331127 296341737 296341737 296341737 806184542 9893...
output:
339
result:
ok single line: '339'
Test #22:
score: 8
Accepted
time: 15ms
memory: 4548kb
input:
1 500 361183277 863317163 788070566 361183277 361183277 863317163 788070566 361183277 632739493 788070566 788070566 361183277 863317163 788070566 361183277 863317163 788070566 361183277 863317163 788070566 361183277 863317163 788070566 361183277 863317163 788070566 361183277 863317163 788070566 3611...
output:
353
result:
ok single line: '353'
Test #23:
score: 8
Accepted
time: 15ms
memory: 4616kb
input:
1 500 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 575516781 360892412 146618517 5755...
output:
423
result:
ok single line: '423'
Test #24:
score: 8
Accepted
time: 6ms
memory: 6324kb
input:
3 68 975239020 470667175 323925950 975239020 470667175 323925950 975239020 470667175 323925950 975239020 470667175 323925950 975239020 470667175 323925950 975239020 470667175 323925950 323925950 323925950 975239020 470667175 323925950 975239020 470667175 323925950 323925950 975239020 470667175 32392...
output:
48 386 3
result:
ok 3 lines
Test #25:
score: 8
Accepted
time: 5ms
memory: 4296kb
input:
3 118 150373656 793064947 635264518 635264518 709296672 793064947 635264518 709296672 709296672 709296672 793064947 635264518 709296672 793064947 635264518 709296672 793064947 793064947 635264518 709296672 793064947 793064947 635264518 709296672 793064947 635264518 709296672 793064947 635264518 7092...
output:
97 230 33
result:
ok 3 lines
Test #26:
score: 8
Accepted
time: 2ms
memory: 3900kb
input:
3 113 89789132 548906728 545868627 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 545868627 89789132 548906728 5458...
output:
101 127 137
result:
ok 3 lines
Test #27:
score: 0
Wrong Answer
time: 4ms
memory: 4148kb
input:
3 108 794907019 802850140 730657927 730657927 794907019 794907019 802850140 730657927 794907019 802850140 730657927 794907019 794907019 802850140 802850140 730657927 794907019 802850140 730657927 730657927 794907019 802850140 802850140 802850140 802850140 730657927 794907019 802850140 730657927 7306...
output:
78 72 236
result:
wrong answer 2nd lines differ - expected: '71', found: '72'
Subtask #4:
score: 0
Wrong Answer
Test #79:
score: 0
Wrong Answer
time: 17ms
memory: 5092kb
input:
1 200000 1 3 3 2 2 3 3 1 2 3 1 1 3 3 3 2 1 1 2 3 2 1 3 3 3 1 2 2 1 3 1 2 1 2 3 2 3 3 2 2 3 2 3 2 3 1 1 1 1 1 3 1 3 2 3 3 3 3 1 3 2 1 3 2 3 2 3 1 1 1 1 3 3 2 3 2 1 2 2 3 2 3 2 2 2 2 2 2 3 2 1 2 2 1 1 3 2 1 2 1 1 3 3 3 2 1 2 2 2 1 3 3 2 3 2 1 3 3 2 2 1 3 1 3 2 1 2 3 2 1 2 3 2 2 3 2 1 2 1 1 1 1 1 1 1 3...
output:
result:
wrong answer 1st lines differ - expected: '66691', found: ''
Subtask #5:
score: 0
Skipped
Dependency #4:
0%
Subtask #6:
score: 0
Skipped
Dependency #3:
0%
Subtask #7:
score: 0
Skipped
Dependency #1:
100%
Accepted
Dependency #2:
0%