QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#647059#5459. Goose, goose, DUCK?ucup-team3340RE 0ms3696kbC++203.8kb2024-10-17 11:22:482024-10-17 11:22:49

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3696kb

input:

6 2
1 2 2 1 3 3

output:

10

result:

ok 1 number(s): "10"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3668kb

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: