UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#72786#228. bookluhong10031ms2164kbC++11838b2019-09-21 10:44:072019-09-21 12:15:28

answer


详细

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

Test #1:

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

input:

100 2 28 9426 9827
----+--+-++++-+++--+---+++------+---------++----+-++++-+--+++-++++++-+-+--+++--++...

output:

179094

result:

ok single line: '179094'

Test #2:

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

input:

100 6 68 8136 6688
+++-+---+----+--+-++--+---++++++--+-++-++--+--++--+-++---+++-+++---++++-+++-+++++...

output:

219672

result:

ok single line: '219672'

Test #3:

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

input:

100 4 0 7368 5364
-+-++---+--+-+-+-++++++++-+-++++--+-+---++---++--+++----+--+-----------+--+--+++--...

output:

36840

result:

ok single line: '36840'

Test #4:

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

input:

1000 454 0 10 10000000
--+++++-+---++-++-+-++++-+--+---++++++++-+-++-+-+-+--+++--+----+--++++-++---+...

output:

2150

result:

ok single line: '2150'

Test #5:

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

input:

1000 376 1144 440675445 812725011
++++-+------++---++---+--+++---++++--++--+-++++-+---++++-+++-+-+--...

output:

158643160200

result:

ok single line: '158643160200'

Test #6:

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

input:

1000 276 18 938498793 701159019
-+++---+++-+---+++---+-+----+++-+-+-++---+--+++++-+---+-++-+----++++...

output:

95726876886

result:

ok single line: '95726876886'

Test #7:

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

input:

100000 67360 94034 10 10000000
---+++-++-+++---+-+--+-+------+-+---+----+----+-----+-+--+----+++-+--...

output:

131900

result:

ok single line: '131900'

Test #8:

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

input:

100000 57247 91 752278539 881719015
-+++++--+--++---+-----++-+-+++++-+-+--+-----++--+++++-+--+-+++-+...

output:

21465515831826

result:

ok single line: '21465515831826'

Test #9:

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

input:

1000000 897028 186010 944612613 866641998
+---+-++++--+---+---+----++--+-+---++---+-+++++++--+++-+--...

output:

335957143489128

result:

ok single line: '335957143489128'

Test #10:

score: 10
Accepted
time: 14ms
memory: 2164kb

input:

1000000 524180 1009530 659936979 574325878
++---++--+-++-+---+---+-++--+-++--+----++---+-++-+-+-++-+...

output:

159568801900326

result:

ok single line: '159568801900326'