QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#288243#5017. 相等树链GuanYunchang10 1095ms25944kbC++173.2kb2023-12-22 12:02:002023-12-22 12:02:01

详细

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 1090ms
memory: 7976kb

input:

5000
1296 1400 867 4533 1296 2007 2059 115 821 2960 3187 1597 2409 2708 4743 4778 1345 3967 911 3400 4249 3793 339 3145 3490 607 4148 3513 3264 3852 568 775 828 1348 423 3678 305 1938 1096 1373 2662 1048 4328 4208 203 779 3103 3372 4523 192 264 792 4943 2211 2494 3513 3555 4935 3277 3390 4624 128 18...

output:

76002

result:

ok 1 number(s): "76002"

Test #2:

score: 0
Accepted
time: 1048ms
memory: 7952kb

input:

5000
1820 281 610 3735 3580 3994 2060 2424 3338 2859 281 532 1286 1771 825 3738 3793 2260 556 4068 3793 4169 4411 4941 122 4270 4711 524 4037 2508 50 3343 2030 1151 4002 533 2994 1440 1762 3851 3050 4470 555 1979 3178 3933 3793 281 4810 520 3793 3535 2526 4422 2859 1561 1544 649 4544 2882 1236 2749 ...

output:

604316

result:

ok 1 number(s): "604316"

Test #3:

score: 0
Accepted
time: 1095ms
memory: 9948kb

input:

5000
4333 51 707 3055 3433 1451 1305 1431 3081 302 1633 88 2024 441 120 4650 3927 4970 2578 3170 4245 4204 2102 4954 3140 1039 360 3173 4203 4927 4437 4337 4502 1712 3598 2968 2 4884 1260 1768 585 1815 4346 2938 4638 4886 4482 1095 1452 298 2702 2257 1375 2819 4482 711 220 396 3907 4792 2798 4445 42...

output:

912032

result:

ok 1 number(s): "912032"

Test #4:

score: 0
Accepted
time: 963ms
memory: 7896kb

input:

5000
362 4710 4997 4405 4728 3964 4258 3568 4997 2924 2931 4997 1094 2174 2220 127 4739 260 2591 4130 4916 1614 1408 324 2924 3272 4997 4020 2924 4216 2924 2931 2924 4783 271 1101 2924 246 4953 2553 4588 2924 1770 3738 4617 2508 2486 2137 1348 4847 2632 596 1011 1442 1287 4665 2924 2203 4411 726 109...

output:

1176721

result:

ok 1 number(s): "1176721"

Test #5:

score: 0
Accepted
time: 1028ms
memory: 10024kb

input:

5000
3579 3530 3328 388 4864 4954 4597 3600 2428 1610 4533 1797 427 1296 3595 3861 4703 2914 4194 3195 451 585 3600 1134 1649 470 2049 2843 2845 3473 26 845 484 3301 1929 1342 1937 2003 1543 832 2301 2543 1889 1211 1619 1937 4471 585 4440 3600 1398 4687 2931 3982 2334 589 388 4012 873 66 2406 3861 1...

output:

1226857

result:

ok 1 number(s): "1226857"

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 89ms
memory: 25944kb

input:

200000
13177 40498 104798 83659 186055 32788 86489 72123 13521 134868 158968 60124 166316 163390 120935 103000 83938 57807 97940 40447 137723 154683 191864 59080 102808 3969 21451 165592 128776 49468 4101 26441 139317 59503 18053 118809 187783 149816 21609 98521 165692 52964 60425 23437 29614 106886...

output:

1771675

result:

wrong answer 1st numbers differ - expected: '5859368', found: '1771675'

Subtask #3:

score: 0
Skipped

Dependency #2:

0%

Subtask #4:

score: 0
Skipped

Dependency #1:

100%
Accepted

Dependency #2:

0%