UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#118729#758. bBody10024589ms1568kbC++111.6kb2020-09-02 23:52:352020-09-02 23:52:35

answer


Details

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

Test #1:

score: 10
Accepted
time: 2454ms
memory: 1564kb

input:

5000
3 2 5 8
6 2 4 3 5 8 9
2 2 8
8 5 8 3 9 4 6 10 7
8 5 9 6 3 2 7 8 10
8 4 3 5 10 7 9 6 8
6 6 4 2 3 ...

output:

155683812

result:

ok 1 number(s): "155683812"

Test #2:

score: 10
Accepted
time: 2445ms
memory: 1568kb

input:

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

output:

131639374

result:

ok 1 number(s): "131639374"

Test #3:

score: 10
Accepted
time: 2420ms
memory: 1564kb

input:

5000
41 19 43 17 49 18 2 30 14 47 39 36 31 7 28 44 6 21 22 46 10 11 26 29 27 25 32 23 13 37 33 3 50 ...

output:

244953212

result:

ok 1 number(s): "244953212"

Test #4:

score: 10
Accepted
time: 2404ms
memory: 1568kb

input:

5000
19 36 1 46 26 43 47 5 31 12 29 22 49 34 30 7 24 45 33 10
9 19 45 10 47 13 2 15 14 1
47 9 24 45 ...

output:

1237418288

result:

ok 1 number(s): "1237418288"

Test #5:

score: 10
Accepted
time: 2408ms
memory: 1564kb

input:

5000
46 45 7 47 4 31 50 36 43 2 26 9 10 11 44 15 41 28 13 14 34 12 8 1 21 19 49 20 6 30 38 29 22 46 ...

output:

789287450

result:

ok 1 number(s): "789287450"

Test #6:

score: 10
Accepted
time: 2425ms
memory: 1564kb

input:

5000
16 31 21 7 2 30 41 4 23 13 18 24 43 3 11 1 15
48 43 7 15 41 6 8 2 45 32 1 35 16 28 38 17 40 11 ...

output:

1969706461

result:

ok 1 number(s): "1969706461"

Test #7:

score: 10
Accepted
time: 2483ms
memory: 1568kb

input:

5000
358 113 152 77 441 164 154 391 15 207 25 326 448 68 28 192 497 314 282 30 454 240 170 181 151 3...

output:

1637013216

result:

ok 1 number(s): "1637013216"

Test #8:

score: 10
Accepted
time: 2519ms
memory: 1568kb

input:

5000
350 166 35 8 467 475 480 404 112 55 327 289 384 196 19 464 138 40 284 17 164 48 235 381 76 499 ...

output:

1475451840

result:

ok 1 number(s): "1475451840"

Test #9:

score: 10
Accepted
time: 2523ms
memory: 1568kb

input:

5000
383 1 2 3 4 5 7 9 10 12 13 14 15 16 17 18 19 21 22 23 24 25 26 27 28 29 30 31 32 34 36 37 38 40...

output:

313250463

result:

ok 1 number(s): "313250463"

Test #10:

score: 10
Accepted
time: 2508ms
memory: 1564kb

input:

5000
392 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 36 37 3...

output:

2266113195

result:

ok 1 number(s): "2266113195"