UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#73084#240. treeHepoy_wzc100113ms1188kbC++1.2kb2019-09-22 08:51:482019-09-22 12:02:26

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1180kb

input:

100
2528 1561 4852 424 4447 4434 2406 4123 77 2984 1184 2905 4549 593 3861 1028 1042 4466 509 672 62...

output:

35659331

result:

ok single line: '35659331'

Test #2:

score: 10
Accepted
time: 0ms
memory: 1176kb

input:

100
2567 4470 2614 2040 2150 1019 1988 1763 1608 4743 4409 3433 3072 2541 3023 2477 178 1193 2478 30...

output:

429450371

result:

ok single line: '429450371'

Test #3:

score: 10
Accepted
time: 0ms
memory: 1176kb

input:

100
2584 2676 3631 1284 955 653 4782 2127 862 1771 3669 3654 2694 4736 680 864 3196 15 1631 2375 307...

output:

974015017

result:

ok single line: '974015017'

Test #4:

score: 10
Accepted
time: 17ms
memory: 1184kb

input:

1000
2610 360 2705 2183 168 4299 1914 1477 1883 354 2486 4006 965 1035 1609 3497 1132 1345 3509 3964...

output:

340207682

result:

ok single line: '340207682'

Test #5:

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

input:

1000
2665 4243 1484 3043 1675 517 2057 2249 436 1909 2740 4755 1878 2410 3428 3332 3286 1893 1863 66...

output:

888632951

result:

ok single line: '888632951'

Test #6:

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

input:

1000
2678 1700 2404 993 166 3456 1739 540 946 2317 2148 4931 2129 3060 3892 2148 4486 58 4186 1462 1...

output:

553091177

result:

ok single line: '553091177'

Test #7:

score: 10
Accepted
time: 15ms
memory: 1188kb

input:

1000
2695 2674 3421 237 1203 3090 2301 904 200 4345 1408 151 1752 2487 1549 535 2504 3880 3340 3014 ...

output:

326754139

result:

ok single line: '326754139'

Test #8:

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

input:

1000
2708 132 4342 3186 4693 1029 1983 1963 711 2520 817 327 4771 3137 2014 4351 1472 2045 2895 3808...

output:

859568466

result:

ok single line: '859568466'

Test #9:

score: 10
Accepted
time: 17ms
memory: 1184kb

input:

1000
2721 357 263 1136 415 1735 4433 253 1221 696 225 504 23 3786 2478 3168 440 210 217 4603 3776 19...

output:

798473199

result:

ok single line: '798473199'

Test #10:

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

input:

1000
2737 1331 1279 380 4220 3601 4995 617 3243 2724 4486 724 2413 982 135 4322 3458 4032 4371 3923 ...

output:

988851990

result:

ok single line: '988851990'