UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#89539#1746. 引水入城long_long_long10038ms15000kbC++1.3kb2020-02-14 10:25:312020-02-14 10:25:32

answer


详细

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

Test #1:

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

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

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

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

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

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

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: 15ms
memory: 15000kb

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

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: 21ms
memory: 11172kb

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

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