UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#38542#51. arrayteacher30584ms391924kbC++1.1kb2018-11-05 17:35:092018-11-05 17:35:10

answer


Details

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

Test #1:

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

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: 2552kb

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: 10
Accepted
time: 43ms
memory: 119376kb

input:

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

output:

49999511884340
49999267803389
49998896235037
49997897954785
49997607962316
49997165092534
4999631396...

result:

ok 100000 lines

Test #4:

score: 0
Memory Limit Exceeded

input:

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

output:

1249999371884292
1249999097803332
1249998726234980
1249997707954722
1249997417962214
124999693509238...

result:


Test #5:

score: 0
Wrong Answer
time: 36ms
memory: 12800kb

input:

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

output:

-394940011186784
-624129751348096
-77916392021408
-902038209551616
-521557914285344
-428916037099424...

result:

wrong answer 1st lines differ - expected: '-294366909500000', found: '-394940011186784'

Test #6:

score: 0
Wrong Answer
time: 102ms
memory: 49660kb

input:

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

output:

-1974435512816608
-3119669552365952
-388875195659296
-4509501393064192
-2607406576167328
-2145355388...

result:

wrong answer 1st lines differ - expected: '538165452500000', found: '-1974435512816608'

Test #7:

score: 0
Wrong Answer
time: 165ms
memory: 157540kb

input:

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

output:

-7897227058212736
-12476771966518784
-1554124905672832
-18036663003300864
-10428880717710976
-858293...

result:

wrong answer 1st lines differ - expected: '32302661810000000', found: '-7897227058212736'

Test #8:

score: 0
Wrong Answer
time: 238ms
memory: 391924kb

input:

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

output:

-19743533500021875
-31193655948690804
-3886558814949897
-45092872229797184
-26072876340771993
-21455...

result:

wrong answer 1st lines differ - expected: '231506635214734221', found: '-19743533500021875'

Test #9:

score: 0
Memory Limit Exceeded

input:

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

output:

-19743523844889086
-19743530999627389
-19743531170504891
-19743533939762706
-29712552044078669
-2971...

result:


Test #10:

score: 0
Memory Limit Exceeded

input:

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

output:

-19743552810286850
-31193729100968008
-3886612359504494
-45092922826098768
-45092925145729701
-17693...

result: