QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#496766#7254. Mergeucup-team1005#WA 33ms49888kbC++201.7kb2024-07-28 15:46:422024-07-28 15:46:42

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3724kb

input:

4
3 1 2 4
3 1 2 4

output:

14

result:

ok 1 number(s): "14"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3704kb

input:

10
5 7 3 1 6 4 2 10 9 8
2 8 9 1 5 6 10 4 3 7

output:

127224

result:

ok 1 number(s): "127224"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3668kb

input:

4
3 4 2 1
3 4 2 1

output:

14

result:

ok 1 number(s): "14"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

10
10 7 4 5 8 9 3 6 2 1
10 2 6 3 1 4 8 7 5 9

output:

114167

result:

ok 1 number(s): "114167"

Test #5:

score: 0
Accepted
time: 31ms
memory: 48872kb

input:

2000
670 1363 819 1306 1666 692 986 221 1454 730 183 558 1063 1198 835 1986 1916 186 53 1612 461 70 1078 592 520 112 497 265 266 1110 1779 1353 1205 340 231 319 1458 1436 1869 774 1335 1028 1867 1953 1370 1319 808 525 1725 1709 1807 485 331 968 820 1309 1121 1308 1565 1842 422 1381 178 1400 895 945 ...

output:

93204593

result:

ok 1 number(s): "93204593"

Test #6:

score: 0
Accepted
time: 31ms
memory: 49204kb

input:

2000
1453 657 1716 895 1737 1287 1805 697 1536 1110 717 1322 1333 619 388 249 1356 1991 1255 1565 368 1029 972 395 1735 632 1028 696 1276 54 1470 671 976 452 1164 329 1047 340 768 185 1371 1250 1707 538 221 952 410 20 1770 1942 1335 1835 459 1425 261 1118 523 1076 1648 967 1132 974 802 186 396 223 8...

output:

871232262

result:

ok 1 number(s): "871232262"

Test #7:

score: 0
Accepted
time: 20ms
memory: 49888kb

input:

2000
1590 861 1841 461 858 975 1097 1789 915 181 1832 958 1857 888 1600 1250 684 1229 1385 1164 1889 1597 379 1829 1596 803 1613 289 1487 385 1700 1916 72 1369 297 397 1168 1958 1812 1422 1018 1929 1073 457 1200 1759 255 1171 395 1774 680 1872 959 1875 105 860 904 205 807 1736 703 1667 262 237 1134 ...

output:

924915868

result:

ok 1 number(s): "924915868"

Test #8:

score: 0
Accepted
time: 31ms
memory: 47880kb

input:

2000
1364 266 1806 1961 352 1294 1600 164 1420 1889 1766 84 161 86 990 1290 155 1557 348 1052 1613 1590 570 1900 1817 58 143 277 1709 1130 800 582 650 326 29 701 2 238 1025 1524 1623 1933 1342 1467 1677 1861 1417 354 943 1124 505 1649 1576 1802 1268 1419 485 1105 1488 1745 1587 1372 1734 695 1522 13...

output:

869060421

result:

ok 1 number(s): "869060421"

Test #9:

score: 0
Accepted
time: 27ms
memory: 48888kb

input:

2000
593 1986 361 350 1390 1739 904 11 1649 79 1772 1044 620 417 199 1917 1740 89 997 1402 326 408 1393 1696 1839 1857 776 503 207 688 1923 1758 1116 933 1107 1898 1566 1650 640 1854 1871 1618 1256 1171 1929 845 222 971 1055 1989 567 1595 870 1005 360 1507 632 657 1679 436 517 906 1077 664 86 859 15...

output:

818371685

result:

ok 1 number(s): "818371685"

Test #10:

score: 0
Accepted
time: 12ms
memory: 18964kb

input:

2000
409 236 534 1161 1244 987 1072 351 938 1149 1280 1422 269 1949 416 1587 982 1418 1688 958 1668 1683 1000 1884 840 1015 575 679 1510 639 129 159 1892 802 1305 940 702 1998 1214 1004 463 568 1908 1070 1005 1916 1313 942 1772 410 1399 1522 617 248 564 1239 773 112 420 387 926 548 1229 633 649 1967...

output:

942562490

result:

ok 1 number(s): "942562490"

Test #11:

score: 0
Accepted
time: 1ms
memory: 3700kb

input:

15
8 11 10 4 9 5 7 15 12 6 2 14 3 1 13
8 11 5 4 9 14 13 6 2 15 10 3 1 7 12

output:

51252311

result:

ok 1 number(s): "51252311"

Test #12:

score: 0
Accepted
time: 0ms
memory: 11116kb

input:

500
406 87 288 81 140 110 141 333 470 254 405 291 315 36 266 455 31 458 480 495 285 85 310 11 200 93 448 218 312 89 423 204 354 304 104 114 56 339 459 476 153 436 208 165 269 332 349 17 134 456 426 79 462 10 428 120 282 209 472 387 268 95 151 175 167 211 487 138 410 46 445 220 57 493 500 148 156 29 ...

output:

297186118

result:

ok 1 number(s): "297186118"

Test #13:

score: 0
Accepted
time: 0ms
memory: 6820kb

input:

207
64 107 132 136 4 169 97 196 151 175 197 54 1 66 48 15 150 18 79 8 129 38 158 3 119 168 101 5 76 69 123 88 137 20 133 166 55 178 87 92 145 104 121 125 159 141 49 206 89 188 192 91 58 51 17 37 40 13 122 23 171 62 110 43 53 130 164 187 152 68 90 72 96 61 198 10 28 41 108 36 111 93 14 190 120 71 81 ...

output:

846756442

result:

ok 1 number(s): "846756442"

Test #14:

score: 0
Accepted
time: 2ms
memory: 18680kb

input:

830
372 605 291 732 697 545 594 271 62 10 423 252 696 522 815 109 638 802 396 548 67 539 819 645 130 151 701 765 677 744 377 359 426 37 427 756 462 270 216 317 587 215 757 76 796 445 733 152 68 280 509 540 146 206 658 803 275 28 389 657 122 660 581 800 610 763 209 264 301 393 205 467 650 827 468 15 ...

output:

166755606

result:

ok 1 number(s): "166755606"

Test #15:

score: 0
Accepted
time: 9ms
memory: 19676kb

input:

842
701 491 172 104 175 270 761 484 420 338 403 536 673 397 166 5 32 248 733 119 576 148 689 53 116 529 659 33 262 245 389 101 304 523 44 95 470 399 52 271 361 605 41 379 13 807 319 610 809 308 463 303 603 637 516 210 806 132 20 395 209 409 645 561 559 64 744 684 726 413 467 204 625 371 345 38 574 5...

output:

796699016

result:

ok 1 number(s): "796699016"

Test #16:

score: 0
Accepted
time: 7ms
memory: 18592kb

input:

1987
692 1185 1483 570 1675 1075 941 707 547 552 1875 450 1230 770 438 252 916 1722 1667 1232 819 172 915 1517 1569 1418 1602 1815 361 1906 702 1243 93 440 1386 795 1510 1347 222 592 28 1333 515 1402 1390 610 1343 237 1561 525 616 1890 884 112 1036 1933 326 1685 1317 635 420 1136 519 1079 1634 177 1...

output:

454107423

result:

ok 1 number(s): "454107423"

Test #17:

score: -100
Wrong Answer
time: 33ms
memory: 49852kb

input:

2000
1276 884 348 1297 1715 1134 1705 866 1495 73 1844 1315 1732 353 1256 1607 610 168 532 547 573 1716 1686 456 645 719 1978 713 808 476 1903 1948 270 1724 839 704 705 1367 687 615 523 124 1080 904 483 795 1233 939 1128 1358 78 440 321 497 1896 525 349 1693 663 1376 915 1042 458 419 1574 1450 729 2...

output:

778434678

result:

wrong answer 1st numbers differ - expected: '885124973', found: '778434678'