UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72759#228. book637w10039ms13896kbC++1.1kb2019-09-21 10:23:582019-09-21 12:14:03

answer


Details

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

Test #1:

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

input:

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

output:

179094

result:

ok single line: '179094'

Test #2:

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

input:

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

output:

219672

result:

ok single line: '219672'

Test #3:

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

input:

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

output:

36840

result:

ok single line: '36840'

Test #4:

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

input:

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

output:

2150

result:

ok single line: '2150'

Test #5:

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

input:

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

output:

158643160200

result:

ok single line: '158643160200'

Test #6:

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

input:

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

output:

95726876886

result:

ok single line: '95726876886'

Test #7:

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

input:

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

output:

131900

result:

ok single line: '131900'

Test #8:

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

input:

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

output:

21465515831826

result:

ok single line: '21465515831826'

Test #9:

score: 10
Accepted
time: 18ms
memory: 13896kb

input:

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

output:

335957143489128

result:

ok single line: '335957143489128'

Test #10:

score: 10
Accepted
time: 18ms
memory: 13896kb

input:

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

output:

159568801900326

result:

ok single line: '159568801900326'