UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88857#1746. 引水入城ysyNB10037ms6824kbC++1.8kb2020-02-13 19:34:132020-02-13 19:34:14

answer


详细

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

Test #1:

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

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: 3ms
memory: 4480kb

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

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: 2ms
memory: 4468kb

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: 0ms
memory: 4464kb

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: 0ms
memory: 4460kb

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: 19ms
memory: 6824kb

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: 0ms
memory: 4472kb

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: 13ms
memory: 4524kb

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: 0ms
memory: 4556kb

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