QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#509284#5459. Goose, goose, DUCK?ZhaoZiLongRE 79ms375972kbC++173.7kb2024-08-08 13:18:412024-08-08 13:18:41

详细

Test #1:

score: 100
Accepted
time: 79ms
memory: 375972kb

input:

6 2
1 2 2 1 3 3

output:

10

result:

ok 1 number(s): "10"

Test #2:

score: 0
Accepted
time: 51ms
memory: 375260kb

input:

6 1
1 2 3 4 5 6

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: -100
Runtime Error

input:

100 10
142826 764475 142826 986320 764475 142826 142826 986320 764475 986320 764475 764475 764475 142826 142826 986320 764475 986320 764475 764475 142826 764475 142826 764475 986320 986320 764475 142826 764475 764475 142826 764475 764475 986320 142826 142826 142826 142826 764475 986320 986320 764475...

output:


result: