QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#76884 | #1264. Lower Algorithmics | Minneapolis | AC ✓ | 323ms | 3352kb | C++17 | 1.1kb | 2023-02-12 15:04:27 | 2023-02-12 15:04:28 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3080kb
input:
2 1 2 1 2
output:
4
result:
ok answer is '4'
Test #2:
score: 0
Accepted
time: 2ms
memory: 3144kb
input:
3 1 3 1 3 10
output:
18
result:
ok answer is '18'
Test #3:
score: 0
Accepted
time: 2ms
memory: 2968kb
input:
6 3 5 1 2 3 4 5 6
output:
28
result:
ok answer is '28'
Test #4:
score: 0
Accepted
time: 2ms
memory: 3040kb
input:
3 1 3 1 3 4
output:
12
result:
ok answer is '12'
Test #5:
score: 0
Accepted
time: 323ms
memory: 3352kb
input:
500 1 2000 6 8 9 10 11 14 16 19 23 24 25 30 31 33 34 38 44 46 48 49 52 53 55 56 58 60 64 65 68 69 70 71 72 74 75 77 79 81 83 84 88 89 93 95 98 103 105 108 109 110 111 118 119 120 121 123 125 129 130 132 134 136 137 138 140 141 144 149 154 155 159 160 161 163 165 166 169 170 172 173 174 175 176 177 1...
output:
1999990
result:
ok answer is '1999990'
Test #6:
score: 0
Accepted
time: 48ms
memory: 3088kb
input:
500 249 290 1 3 8 9 10 12 13 16 19 20 23 25 27 28 29 30 34 35 37 39 40 42 44 46 48 53 54 55 57 59 62 64 65 67 70 73 81 82 83 85 86 87 88 89 90 93 94 95 97 99 100 101 102 105 110 111 112 113 118 120 121 123 126 127 131 134 137 138 139 140 143 146 147 151 153 156 160 164 165 166 168 170 171 172 174 17...
output:
289457
result:
ok answer is '289457'
Test #7:
score: 0
Accepted
time: 113ms
memory: 3140kb
input:
1000 154 700 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
699847
result:
ok answer is '699847'
Test #8:
score: 0
Accepted
time: 149ms
memory: 3216kb
input:
1000 874 935 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
934127
result:
ok answer is '934127'
Test #9:
score: 0
Accepted
time: 159ms
memory: 3180kb
input:
1000 2 981 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 1...
output:
980999
result:
ok answer is '980999'
Test #10:
score: 0
Accepted
time: 120ms
memory: 3092kb
input:
1000 426 739 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
738575
result:
ok answer is '738575'
Test #11:
score: 0
Accepted
time: 111ms
memory: 3124kb
input:
1000 554 687 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
686447
result:
ok answer is '686447'
Test #12:
score: 0
Accepted
time: 285ms
memory: 3316kb
input:
1000 798 1797 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 9...
output:
1796203
result:
ok answer is '1796203'
Test #13:
score: 0
Accepted
time: 301ms
memory: 3244kb
input:
1000 1381 1880 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ...
output:
1878620
result:
ok answer is '1878620'
Test #14:
score: 0
Accepted
time: 118ms
memory: 3104kb
input:
1000 629 728 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
727372
result:
ok answer is '727372'
Test #15:
score: 0
Accepted
time: 109ms
memory: 3088kb
input:
1000 688 688 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99...
output:
687313
result:
ok answer is '687313'
Test #16:
score: 0
Accepted
time: 177ms
memory: 3160kb
input:
500 92 1091 1 2 3 4 7 8 9 12 13 17 20 23 24 25 28 31 32 34 38 40 41 43 44 48 53 56 60 61 63 69 75 76 78 79 84 85 86 91 92 95 102 103 108 110 112 116 117 118 120 122 123 126 127 128 129 131 132 133 134 136 138 140 141 142 146 147 150 151 153 154 157 162 163 168 171 173 177 178 180 182 184 185 186 193...
output:
1089818
result:
ok answer is '1089818'
Test #17:
score: 0
Accepted
time: 253ms
memory: 3260kb
input:
500 865 1364 1 2 4 5 6 8 9 10 11 13 14 17 18 22 26 27 32 33 34 35 36 37 39 43 44 46 47 49 54 55 57 58 59 60 62 65 67 68 72 74 76 77 80 82 85 87 88 90 92 94 95 100 102 107 108 111 113 124 125 129 131 132 136 137 142 144 146 147 150 153 154 158 159 160 162 168 169 170 174 175 176 177 178 179 181 183 1...
output:
1359041
result:
ok answer is '1359041'
Test #18:
score: 0
Accepted
time: 115ms
memory: 3156kb
input:
500 604 703 1 2 3 5 6 7 8 9 10 15 16 19 21 24 27 29 31 32 33 34 37 38 39 41 43 44 45 48 51 52 53 55 57 60 64 65 68 71 72 73 76 78 80 81 83 88 89 90 91 93 94 95 97 99 100 102 103 104 105 108 109 110 115 116 117 118 121 124 129 130 131 133 136 137 138 139 140 141 143 144 147 149 150 154 155 156 157 16...
output:
702397
result:
ok answer is '702397'
Test #19:
score: 0
Accepted
time: 212ms
memory: 3168kb
input:
500 1287 1287 1 2 3 4 11 12 15 18 21 24 25 26 27 29 31 32 35 38 39 43 45 47 49 50 51 53 55 57 59 62 63 68 69 70 73 74 75 78 81 83 85 87 88 89 90 92 93 94 97 98 100 103 104 105 108 109 111 112 113 114 116 120 121 125 131 132 135 136 138 141 143 144 145 146 147 148 152 153 154 155 156 159 161 162 163 ...
output:
1279273
result:
ok answer is '1279273'
Test #20:
score: 0
Accepted
time: 183ms
memory: 3292kb
input:
100 19 1018 25 35 43 56 57 74 82 88 90 93 104 116 129 130 140 148 163 165 189 192 210 235 236 251 255 256 259 271 285 296 305 313 317 328 329 344 350 365 371 375 388 389 397 398 411 413 425 428 437 442 453 485 516 535 541 556 562 581 592 599 618 639 648 665 669 675 680 705 717 726 729 751 762 763 76...
output:
1015453
result:
ok answer is '1015453'
Test #21:
score: 0
Accepted
time: 291ms
memory: 3320kb
input:
100 1221 1720 14 25 28 41 45 49 51 52 64 65 72 82 88 93 95 100 128 174 178 195 218 220 254 259 271 278 320 325 329 330 331 340 341 343 353 355 359 365 396 403 404 407 408 433 446 451 460 499 522 523 525 531 549 551 553 554 571 574 592 594 601 603 615 627 645 662 714 733 735 739 742 761 768 779 780 8...
output:
1695981
result:
ok answer is '1695981'
Test #22:
score: 0
Accepted
time: 317ms
memory: 3320kb
input:
100 1860 1959 5 27 42 43 54 58 74 75 94 99 106 116 117 129 141 149 150 175 176 213 231 232 247 256 262 264 265 266 275 279 283 285 313 354 360 362 371 381 382 404 434 438 447 457 480 485 487 491 495 518 523 527 554 555 561 562 566 578 582 590 600 606 610 639 668 672 690 697 698 722 725 726 728 731 7...
output:
1896707
result:
ok answer is '1896707'
Test #23:
score: 0
Accepted
time: 184ms
memory: 3112kb
input:
100 1126 1126 11 26 30 36 50 61 79 86 93 124 155 161 168 170 196 209 212 215 218 233 235 238 242 267 292 298 300 301 321 331 332 349 361 368 371 378 397 400 410 411 412 421 425 429 430 433 436 438 448 456 458 461 465 486 496 512 570 580 583 607 610 614 632 644 655 658 679 680 687 688 702 706 734 745...
output:
1111306
result:
ok answer is '1111306'