QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#151418#5561. Improving ITHuangHanShengRE 1ms5840kbC++20849b2023-08-26 17:09:002023-08-26 17:13:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 5628kb

input:

4 3
1000 900 800 900
700 600 500 400
1200 1200 1300
600 500

output:

100

result:

ok single line: '100'

Test #2:

score: 0
Accepted
time: 1ms
memory: 5840kb

input:

3 2
200 300 400
400 300 200
300 500

output:

-400

result:

ok single line: '-400'

Test #3:

score: 0
Accepted
time: 0ms
memory: 5616kb

input:

1 1
145669255 454927004

output:

-309257749

result:

ok single line: '-309257749'

Test #4:

score: 0
Accepted
time: 1ms
memory: 5632kb

input:

1 1
639426798 25010755

output:

614416043

result:

ok single line: '614416043'

Test #5:

score: 0
Accepted
time: 1ms
memory: 5636kb

input:

4 3
844421851 757954402 420571580 258916750
511274721 404934137 783798589 303312726
476596954 583382039 908112885
504686855 281837844

output:

-238707898

result:

ok single line: '-238707898'

Test #6:

score: 0
Accepted
time: 1ms
memory: 5636kb

input:

4 1
844421851 757954402
420571580 258916750
511274721 404934137
783798589 303312726

output:

834948726

result:

ok single line: '834948726'

Test #7:

score: -100
Runtime Error

input:

1 4
844421851 757954402

output:


result: