UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#80341#759. calonefight10079ms1328kbC++1.3kb2019-10-17 01:07:472019-10-17 01:07:47

answer


Details

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

Subtask #1:

score: 20
Accepted

Test #1:

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

input:

3
2 3 3

output:

2672

result:

ok 1 number(s): "2672"

Test #2:

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

input:

8
1 1 1 1 1 1 1 1

output:

40320

result:

ok 1 number(s): "40320"

Subtask #2:

score: 20
Accepted

Test #3:

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

input:

10
2 2 1 1 1 1 1 1 1 1

output:

167650560

result:

ok 1 number(s): "167650560"

Test #4:

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

input:

10
2 1 1 2 2 1 2 2 1 2

output:

593833159

result:

ok 1 number(s): "593833159"

Test #5:

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

input:

10
2 2 2 2 2 2 2 2 2 2

output:

330735244

result:

ok 1 number(s): "330735244"

Subtask #3:

score: 20
Accepted

Test #6:

score: 20
Accepted
time: 20ms
memory: 1320kb

input:

50
75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 75 7...

output:

511128381

result:

ok 1 number(s): "511128381"

Test #7:

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

input:

50
100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 100 1...

output:

350430451

result:

ok 1 number(s): "350430451"

Subtask #4:

score: 40
Accepted

Test #8:

score: 40
Accepted
time: 16ms
memory: 1304kb

input:

50
29 19 60 18 55 73 75 56 65 73 98 95 27 1 6 35 31 22 18 11 71 54 8 16 23 23 43 96 81 26 94 97 8 81...

output:

854153619

result:

ok 1 number(s): "854153619"

Test #9:

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

input:

50
26 78 46 13 92 6 65 48 60 85 70 4 88 15 39 66 61 65 89 78 65 95 6 3 77 46 60 14 91 11 41 78 90 26...

output:

426182324

result:

ok 1 number(s): "426182324"