UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#88517#1746. 引水入城wlzhouzhuan100987ms3216kbC++112.5kb2020-02-13 16:25:152020-02-13 16:25:15

answer


Details

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

Test #1:

score: 10
Accepted
time: 2ms
memory: 2244kb

input:

10 10
1004 1004 1004 1004 1009 1009 1009 1009 1009 1009
904 904 904 904 904 904 904 904 904 904
800 ...

output:

1
6

result:

ok 2 lines

Test #2:

score: 10
Accepted
time: 18ms
memory: 2624kb

input:

200 200
600 1 1 1 1 1 600 1 1 1 1 1 20005 20005 20005 20005 20005 20005 20005 20005 20005 20005 2000...

output:

1
41

result:

ok 2 lines

Test #3:

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

input:

10 10
517 626 565 502 512 551 622 557 518 621
515 498 463 456 507 504 452 598 450 454
432 537 522 41...

output:

0
7

result:

ok 2 lines

Test #4:

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

input:

100 100
300 1 1 1 1 1 300 1 1 1 1 1 300 1 1 1 1 1 10004 10004 10004 10004 10004 10004 10004 10004 10...

output:

1
28

result:

ok 2 lines

Test #5:

score: 10
Accepted
time: 5ms
memory: 2432kb

input:

100 50
300 1 1 1 1 1 300 1 1 1 1 1 10006 10006 10006 10006 10006 10006 10006 10006 10006 10006 10006...

output:

1
21

result:

ok 2 lines

Test #6:

score: 10
Accepted
time: 2ms
memory: 2224kb

input:

1 10
109 108 101 100 102 104 104 102 102 105

output:

1
4

result:

ok 2 lines

Test #7:

score: 10
Accepted
time: 882ms
memory: 3216kb

input:

500 500
200000 199999 199998 199997 199996 199995 199994 199993 199992 199991 199990 199989 199988 1...

output:

0
269

result:

ok 2 lines

Test #8:

score: 10
Accepted
time: 2ms
memory: 2428kb

input:

100 20
300 1 1 1 1 1 10009 10009 10009 10009 10009 10009 10009 10009 10009 10009 10009 10009 10009 1...

output:

1
9

result:

ok 2 lines

Test #9:

score: 10
Accepted
time: 62ms
memory: 3212kb

input:

500 500
1500 1 1 1 1 1 1500 1 1 1 1 1 50005 50005 50005 50005 50005 50005 50005 50005 50005 50005 50...

output:

1
86

result:

ok 2 lines

Test #10:

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

input:

100 100
8000 7999 7998 7997 7996 7995 7994 7993 7992 7991 7990 7989 7988 7987 7986 7985 7984 7983 79...

output:

0
53

result:

ok 2 lines