UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#104244#741. codePeanutTang100246ms29552kbC++578b2020-03-15 17:06:482020-03-15 17:06:50

answer


详细

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

Test #1:

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

input:

20
1111111111111

output:

2020

result:

ok single line: '2020'

Test #2:

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

input:

20
1111111111100111

output:

298

result:

ok single line: '298'

Test #3:

score: 10
Accepted
time: 3ms
memory: 2268kb

input:

500
101111100111010010011111100111101010111110011110111100001101111110111111110111111011110100101111...

output:

176773147

result:

ok single line: '176773147'

Test #4:

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

input:

500
101111111000110111101011111010011111111101011100111111101011100110011111011101011111111000111001...

output:

256782096

result:

ok single line: '256782096'

Test #5:

score: 10
Accepted
time: 2ms
memory: 2340kb

input:

500
111011011100111111011000100011010111101011111111101110110111101101101111101011000111010111111011...

output:

659661311

result:

ok single line: '659661311'

Test #6:

score: 10
Accepted
time: 52ms
memory: 29104kb

input:

3000
11011111110101010001100111001101110101111001111100101011101111111010111111111110111111111111110...

output:

971409294

result:

ok single line: '971409294'

Test #7:

score: 10
Accepted
time: 41ms
memory: 29252kb

input:

3000
10011111010111111111101111111101010001111001110111010111110011011111111111100011111111111110111...

output:

519310775

result:

ok single line: '519310775'

Test #8:

score: 10
Accepted
time: 59ms
memory: 29340kb

input:

3000
11101110011011101101110100111101111111101101111111111101101011111110001111101110111011110101110...

output:

627464763

result:

ok single line: '627464763'

Test #9:

score: 10
Accepted
time: 42ms
memory: 29484kb

input:

3000
11000011111011101010011011111011111111011111100011011101110001111001111101010101101001111101111...

output:

512219426

result:

ok single line: '512219426'

Test #10:

score: 10
Accepted
time: 47ms
memory: 29552kb

input:

3000
11011111000111111111011110111111100011001010101011101111110100100101110111011110110111111011110...

output:

847771949

result:

ok single line: '847771949'