UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#134554#2112. 折形最大19100110ms11452kbC++11579b2021-07-21 15:05:492021-07-21 15:05:51

answer


Details

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

Test #1:

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

input:

4 4
-2 5 0 2
-1 1 0 -3
-2 -2 -4 -6
-3 3 -5 5

output:

5

result:

ok single line: '5'

Test #2:

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

input:

6 6
-10 5 -8 -9 -5 -4
4 3 -5 2 6 -9
-5 -2 4 4 -8 8
2 1 6 2 7 5
-3 -4 -2 -3 -10 -10
-3 1 -10 7 -1 -9

output:

31

result:

ok single line: '31'

Test #3:

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

input:

10 10
8 -7 5 -3 -6 4 -4 -5 -5 2
5 8 -3 6 -3 -8 -8 5 -2 -4
1 8 -5 -4 -2 7 8 3 -6 -3
1 8 4 -3 -1 -4 5 ...

output:

45

result:

ok single line: '45'

Test #4:

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

input:

20 20
10 9 -1 19 -19 6 0 -20 12 -18 16 25 13 4 4 29 -13 7 6 16
27 1 20 -3 25 18 -15 -19 26 -6 22 23 ...

output:

357

result:

ok single line: '357'

Test #5:

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

input:

20 100
-17 7 -2 35 35 14 32 -23 19 40 39 14 19 40 24 25 16 -25 3 26 -15 25 14 37 29 34 -5 3 -17 1 9 ...

output:

1251

result:

ok single line: '1251'

Test #6:

score: 10
Accepted
time: 4ms
memory: 9800kb

input:

100 150
87 115 140 142 -29 -91 77 -38 46 99 117 103 15 99 47 -12 -14 -4 -47 -9 143 -96 -47 -98 -7 -2...

output:

8377

result:

ok single line: '8377'

Test #7:

score: 10
Accepted
time: 10ms
memory: 10580kb

input:

300 200
-100 74 105 -84 124 1 40 6 125 0 96 -75 -49 12 -16 -42 74 -84 -94 -58 136 -24 42 -53 -52 90 ...

output:

15682

result:

ok single line: '15682'

Test #8:

score: 10
Accepted
time: 27ms
memory: 11360kb

input:

500 600
50 5 24 39 -14 12 8 44 9 -37 10 -25 53 60 -3 -8 -30 -50 6 -13 -16 -22 42 18 60 6 -27 -9 -9 4...

output:

16180

result:

ok single line: '16180'

Test #9:

score: 10
Accepted
time: 39ms
memory: 11452kb

input:

600 500
9 18 43 68 20 71 8 69 -16 24 29 -24 -13 -41 78 -89 92 -46 -24 -5 58 62 5 -5 13 -22 85 67 -86...

output:

7076

result:

ok single line: '7076'

Test #10:

score: 10
Accepted
time: 30ms
memory: 11448kb

input:

550 590
9 18 43 68 20 71 8 69 -16 24 29 -24 -13 -41 78 -89 92 -46 -24 -5 58 62 5 -5 13 -22 85 67 -86...

output:

6745

result:

ok single line: '6745'