UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#38692#51. arrayteacher70814ms442996kbC++1.0kb2018-11-05 21:17:242018-11-05 21:17:26

answer


详细

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

Test #1:

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

input:

10 10
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
B 7 -594249203
B 7 -8214909...

output:

-3948659045
-6238554460
-777184055
-9018450160
-8710855133
-8938096908
-6219154690
-5570850090
-6344...

result:

ok 10 lines

Test #2:

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

input:

100 100
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
B 97 -594249203
B 97 -821...

output:

-39485685950
-62382196600
-7769424050
-90182143600
-89874595733
-90101837508
-62187064900
-615387702...

result:

ok 100 lines

Test #3:

score: 0
Wrong Answer
time: 72ms
memory: 392544kb

input:

10000000 100000
B 8371170 -484744490
B 6969586 -237111365
B 6969586 -608679717
B 7860890 -990419362
...

output:

-838832697
-1324221176
-2311438831
-4304334608
-4886590901
-5775444072
-7477919467
-7348665025
-8787...

result:

wrong answer 1st lines differ - expected: '49999511884340', found: '-838832697'

Test #4:

score: 0
Memory Limit Exceeded

input:

49999997 500000
B 18371221 -484744490
B 36969595 -237111365
B 36969595 -608679717
B 27860896 -990419...

output:

-1956433257
-2471821745
-3489039409
-5501935192
-6084191524
-7013044743
-8755520195
-8656265801
-101...

result:


Test #5:

score: 10
Accepted
time: 43ms
memory: 16908kb

input:

1000000 100000
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
A 291 -521452226
A...

output:

-294366909500000
-251859166000000
190778909500000
-639847636000000
-375952080500000
-723630250500000...

result:

ok 100000 lines

Test #6:

score: 10
Accepted
time: 121ms
memory: 25104kb

input:

5000000 300000
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
A 291 -521452226
A...

output:

538165452500000
6180704170000000
6323894547500000
2040761820000000
1030239597500000
-950815125250000...

result:

ok 300000 lines

Test #7:

score: 10
Accepted
time: 165ms
memory: 29200kb

input:

20000000 400000
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
A 291 -521452226
...

output:

32302661810000000
136322816680000000
105845578190000000
86763047280000000
47770958390000000
-1263826...

result:

ok 400000 lines

Test #8:

score: 10
Accepted
time: 177ms
memory: 37392kb

input:

49999998 500000
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
A 291 -521452226
...

output:

231506635214734221
898806968547719820
667363891930443255
609907567603696320
337677367917904743
-7577...

result:

ok 500000 lines

Test #9:

score: 0
Memory Limit Exceeded

input:

49999999 500000
A 201 -394867010
B 33515298 -813030415
B 33515298 -983907917
B 11402914 -872139111
A...

output:

231506644869867010
231506637715128707
231506637544251205
231506634774993390
104037537769249203
10403...

result:


Test #10:

score: 10
Accepted
time: 236ms
memory: 442996kb

input:

49999996 500000
A 201 -394867010
A 744 -623859538
A 537 -77721359
A 524 -901847898
B 5013797 -594249...

output:

231506615904469246
898806895395442616
667363838385888658
609907517007394736
609907514687763803
99855...

result:

ok 500000 lines