UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#77394#741. codeljqwq100746ms30320kbC++778b2019-10-03 19:21:262019-10-03 19:21:26

answer


详细

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

Test #1:

score: 10
Accepted
time: 1ms
memory: 1256kb

input:

20
1111111111111

output:

2020

result:

ok single line: '2020'

Test #2:

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

input:

20
1111111111100111

output:

298

result:

ok single line: '298'

Test #3:

score: 10
Accepted
time: 5ms
memory: 2944kb

input:

500
101111100111010010011111100111101010111110011110111100001101111110111111110111111011110100101111...

output:

176773147

result:

ok single line: '176773147'

Test #4:

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

input:

500
101111111000110111101011111010011111111101011100111111101011100110011111011101011111111000111001...

output:

256782096

result:

ok single line: '256782096'

Test #5:

score: 10
Accepted
time: 5ms
memory: 3028kb

input:

500
111011011100111111011000100011010111101011111111101110110111101101101111101011000111010111111011...

output:

659661311

result:

ok single line: '659661311'

Test #6:

score: 10
Accepted
time: 152ms
memory: 29868kb

input:

3000
11011111110101010001100111001101110101111001111100101011101111111010111111111110111111111111110...

output:

971409294

result:

ok single line: '971409294'

Test #7:

score: 10
Accepted
time: 149ms
memory: 30012kb

input:

3000
10011111010111111111101111111101010001111001110111010111110011011111111111100011111111111110111...

output:

519310775

result:

ok single line: '519310775'

Test #8:

score: 10
Accepted
time: 145ms
memory: 30108kb

input:

3000
11101110011011101101110100111101111111101101111111111101101011111110001111101110111011110101110...

output:

627464763

result:

ok single line: '627464763'

Test #9:

score: 10
Accepted
time: 143ms
memory: 30248kb

input:

3000
11000011111011101010011011111011111111011111100011011101110001111001111101010101101001111101111...

output:

512219426

result:

ok single line: '512219426'

Test #10:

score: 10
Accepted
time: 146ms
memory: 30320kb

input:

3000
11011111000111111111011110111111100011001010101011101111110100100101110111011110110111111011110...

output:

847771949

result:

ok single line: '847771949'