QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#456452#7279. Tricks of the Tradeegypt_ioi2024_13#5 55ms419464kbC++201.1kb2024-06-28 01:50:322024-06-29 00:04:54

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 5
Acceptable Answer
time: 0ms
memory: 3732kb

input:

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

output:

-1

result:

points 0.50 first question correct

Test #2:

score: 5
Acceptable Answer
time: 1ms
memory: 4012kb

input:

200 40
81 50 87 91 54 1 77 68 19 84 28 81 45 64 4 13 25 89 12808135 86 40 73 47 18 82 79 11 96 16 34 80 36 8 5 60 76 86 84 36 37 96 55 68 12807879 51 89 57 30 100 11 44 19 96 32 9 68 41 12808009 5 58 12807939 92 68 67 78 32 57 49 71 92 64 35 89 76 81 36 6 6 53 31 85 79 5 85 1 91 17 37 25 91 54 29 47...

output:

12807909

result:

points 0.50 first question correct

Test #3:

score: 5
Acceptable Answer
time: 0ms
memory: 5924kb

input:

200 41
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 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:

81

result:

points 0.50 first question correct

Test #4:

score: 5
Acceptable Answer
time: 0ms
memory: 3556kb

input:

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

output:

2

result:

points 0.50 first question correct

Test #5:

score: 5
Acceptable Answer
time: 0ms
memory: 3588kb

input:

7 3
5 1 1 1 1 1 5
1 1 1 1 1 1 1

output:

0

result:

points 0.50 first question correct

Test #6:

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

input:

200 100
142654162 64490063 513345044 219974445 84112685 711899650 33120992 176027514 802361343 2414916 941549932 786288853 94273368 829024564 352947721 355629698 903479794 326383768 720620114 271371691 786997028 138881060 711795174 536092340 290169962 938690480 710723910 231424065 468554799 44519400...

output:

2136695348

result:

wrong answer wrong answer on the first question

Subtask #2:

score: 0
Skipped

Dependency #1:

0%

Subtask #3:

score: 5
Acceptable Answer

Test #30:

score: 5
Acceptable Answer
time: 0ms
memory: 3704kb

input:

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

output:

2

result:

points 0.50 first question correct

Test #31:

score: 5
Acceptable Answer
time: 36ms
memory: 419140kb

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

result:

points 0.50 first question correct

Test #32:

score: 5
Acceptable Answer
time: 37ms
memory: 419036kb

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

result:

points 0.50 first question correct

Test #33:

score: 5
Acceptable Answer
time: 44ms
memory: 419144kb

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

result:

points 0.50 first question correct

Test #34:

score: 5
Acceptable Answer
time: 43ms
memory: 419036kb

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

result:

points 0.50 first question correct

Test #35:

score: 5
Acceptable Answer
time: 55ms
memory: 419084kb

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

result:

points 0.50 first question correct

Test #36:

score: 5
Acceptable Answer
time: 48ms
memory: 419464kb

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

result:

points 0.50 first question correct

Test #37:

score: 5
Acceptable Answer
time: 47ms
memory: 419044kb

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

result:

points 0.50 first question correct

Test #38:

score: 5
Acceptable Answer
time: 47ms
memory: 418964kb

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

result:

points 0.50 first question correct

Test #39:

score: 5
Acceptable Answer
time: 39ms
memory: 419036kb

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

result:

points 0.50 first question correct

Subtask #4:

score: 0
Wrong Answer

Dependency #3:

50%
Acceptable Answer

Test #40:

score: 12.5
Acceptable Answer
time: 0ms
memory: 3604kb

input:

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

output:

2

result:

points 0.50 first question correct

Test #41:

score: 12.5
Acceptable Answer
time: 35ms
memory: 419000kb

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

result:

points 0.50 first question correct

Test #42:

score: 12.5
Acceptable Answer
time: 0ms
memory: 3620kb

input:

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

output:

-1

result:

points 0.50 first question correct

Test #43:

score: 12.5
Acceptable Answer
time: 0ms
memory: 3736kb

input:

7 3
5 1 1 1 1 1 5
1 1 1 1 1 1 1

output:

0

result:

points 0.50 first question correct

Test #44:

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

input:

200 100
142654162 64490063 513345044 219974445 84112685 711899650 33120992 176027514 802361343 2414916 941549932 786288853 94273368 829024564 352947721 355629698 903479794 326383768 720620114 271371691 786997028 138881060 711795174 536092340 290169962 938690480 710723910 231424065 468554799 44519400...

output:

2136695348

result:

wrong answer wrong answer on the first question

Subtask #5:

score: 0
Skipped

Dependency #1:

0%