QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#455012#7279. Tricks of the Tradeegypt_ioi2024_04#10 25ms8960kbC++202.3kb2024-06-25 17:39:122024-06-25 17:39:12

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5612kb

input:

5 3
3 5 2 3 6
2 1 5 2 3

output:

2
00110

result:

wrong answer wrong answer on the first question

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 10
Accepted

Test #30:

score: 10
Accepted
time: 1ms
memory: 5680kb

input:

5 2
1 6 1 5 2
4 1 6 2 4

output:

2
10111

result:

ok all correct

Test #31:

score: 10
Accepted
time: 21ms
memory: 8572kb

input:

250000 2
18 35 29 35 18 610084694 18 35 29 35 18 448867144 18 35 29 35 18 971272498 18 35 29 35 18 890430190 18 35 29 35 18 655685684 18 35 29 35 18 234608237 18 35 29 35 18 894586749 18 35 29 35 18 442195168 18 35 29 35 18 341564617 18 35 29 35 18 985069087 18 35 29 35 18 967546483 18 35 29 35 18 5...

output:

33391
101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...

result:

ok all correct

Test #32:

score: 10
Accepted
time: 16ms
memory: 8960kb

input:

250000 2
5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1 5 1...

output:

7
0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101...

result:

ok all correct

Test #33:

score: 10
Accepted
time: 22ms
memory: 8120kb

input:

250000 2
296095839 339724373 965973329 196477261 344160630 150756369 190174474 470255817 512937857 249988555 752486830 474766981 101796731 563280029 312834955 720810905 619379033 324109033 874523062 841728664 19232878 363302361 436792441 201047597 165902785 728305993 892140052 423772401 255303346 35...

output:

-3196894
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct

Test #34:

score: 10
Accepted
time: 25ms
memory: 7876kb

input:

250000 2
376 997 143 229 156 268 727 677 546 358 90 640 60 769 719 690 109 34 216 522 884 609 280 765 605 31 666 831 484 182 600 682 689 103 409 421 455 587 971 442 575 402 788 246 270 255 158 582 281 259 935 578 210 439 432 480 86 273 323 929 326 699 379 298 880 163 169 125 773 857 654 902 177 163 ...

output:

127670228
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct

Test #35:

score: 10
Accepted
time: 25ms
memory: 8352kb

input:

250000 2
453 396 898 114 712 889 968 486 308 612 455 958 517 330 506 470 161 423 120 110 588 176 325 304 383 578 934 976 119 779 286 184 984 575 621 99 277 113 43 681 404 397 390 94 939 405 958 170 542 935 610 747 164 245 292 315 438 477 45 62 998 706 231 474 556 181 27 385 442 613 295 283 985 82 12...

output:

100000000
11101011010000000011100010011100010111101111011111100010101011101011110110100010001011011010001111110110101111100011010000110011111010000000000100110111001011011111111111001000010101000110111010011110111110100100010001011010100111110101100001111101111000010100101111100110010101010100011011...

result:

ok all correct

Test #36:

score: 10
Accepted
time: 20ms
memory: 8320kb

input:

250000 2
301 561 538 318 354 945 677 821 949 896 280 109 987 299 572 657 669 85 613 459 859 434 188 160 481 989 838 383 851 560 479 712 880 696 362 755 229 159 220 650 527 237 690 314 415 808 998 637 643 844 980 619 33 949 433 710 761 934 469 429 209 492 566 846 876 371 619 930 335 380 357 611 528 9...

output:

100000000
00111000100000011011000100110101011101000100001000110111000001000000110101111101011101000111101001010100001111110100101110011101001000100101010110010010000100011011000001011010011101101111111111010111011010001010000100010011011011110100100010110111000001111001111101100011010101000111111111...

result:

ok all correct

Test #37:

score: 10
Accepted
time: 19ms
memory: 8420kb

input:

250000 2
4 42 73 93 7 35 94 94 51 89 37 88 62 82 4 50 17 25 41 75 79 42 65 84 85 76 8 5 53 61 30 96 5 12 73 89 80 93 37 59 13 7 17 86 81 28 53 37 35 53 84 82 50 43 19 57 46 58 98 15 24 44 14 28 16 32 100 29 93 84 66 74 67 44 51 53 30 39 40 39 31 77 96 82 9 95 27 51 99 17 15 65 24 38 26 66 64 52 82 4...

output:

75103735
110001100101101001011000111101100010010100000101011100011010110100100100010110001001100110000000100100010010100000001001010111010000001010011010110100011100010110010010100110100111111100010110011101001011100000001010100101110001001110101110100001110010000010101010100011011010000011000000011...

result:

ok all correct

Test #38:

score: 10
Accepted
time: 24ms
memory: 7888kb

input:

250000 2
6 179605521 98 560489812 78 428728290 46 394467511 13 104828723 85 556581057 82 276557631 45 216804298 81 484579962 48 632665627 52 548050190 97 173641903 3 724257667 10 791131062 34 874026470 70 513926122 72 857542636 24 670114142 18 242541410 47 380039814 76 284051523 15 683070321 35 3191...

output:

16168237
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct

Test #39:

score: 10
Accepted
time: 10ms
memory: 8104kb

input:

250000 2
3 969910390 5 792 2 983 1 729 3 890 1 847 3 899 1 829 1 751 2 899 1 764 4 834 4 713 2 886 4 973 5 867 4 869 4 823 1 806 1 851 3 882 4 972 3 954 2 931 5 827 3 954 1 887 3 945 1 926 3 747 1 731 3 713 3 723 2 963 5 854 3 950 5 751 2 830 4 822 2 954 2 907 1 898 2 795 3 816 4 860 4 900 2 879 4 7...

output:

131
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...

result:

ok all correct

Subtask #4:

score: 0
Wrong Answer

Dependency #3:

100%
Accepted

Test #40:

score: 25
Accepted
time: 1ms
memory: 5852kb

input:

5 2
1 6 1 5 2
4 1 6 2 4

output:

2
10111

result:

ok all correct

Test #41:

score: 25
Accepted
time: 22ms
memory: 8680kb

input:

250000 2
18 35 29 35 18 610084694 18 35 29 35 18 448867144 18 35 29 35 18 971272498 18 35 29 35 18 890430190 18 35 29 35 18 655685684 18 35 29 35 18 234608237 18 35 29 35 18 894586749 18 35 29 35 18 442195168 18 35 29 35 18 341564617 18 35 29 35 18 985069087 18 35 29 35 18 967546483 18 35 29 35 18 5...

output:

33391
101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010...

result:

ok all correct

Test #42:

score: 0
Wrong Answer
time: 0ms
memory: 5616kb

input:

5 3
3 5 2 3 6
2 1 5 2 3

output:

2
00110

result:

wrong answer wrong answer on the first question

Subtask #5:

score: 0
Skipped

Dependency #1:

0%