UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#72846#228. book145592783510018ms6116kbC++684b2019-09-21 11:27:492019-09-21 12:17:49

answer


Details

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

Test #1:

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

input:

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

output:

179094

result:

ok single line: '179094'

Test #2:

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

input:

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

output:

219672

result:

ok single line: '219672'

Test #3:

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

input:

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

output:

36840

result:

ok single line: '36840'

Test #4:

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

input:

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

output:

2150

result:

ok single line: '2150'

Test #5:

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

input:

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

output:

158643160200

result:

ok single line: '158643160200'

Test #6:

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

input:

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

output:

95726876886

result:

ok single line: '95726876886'

Test #7:

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

input:

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

output:

131900

result:

ok single line: '131900'

Test #8:

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

input:

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

output:

21465515831826

result:

ok single line: '21465515831826'

Test #9:

score: 10
Accepted
time: 9ms
memory: 6116kb

input:

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

output:

335957143489128

result:

ok single line: '335957143489128'

Test #10:

score: 10
Accepted
time: 9ms
memory: 6116kb

input:

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

output:

159568801900326

result:

ok single line: '159568801900326'