QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#51423#1443. Potato ShuffleHuangHanShengWA 5ms5300kbC++141.8kb2022-10-02 13:52:512022-10-02 13:52:53

詳細信息

Test #1:

score: 100
Accepted
time: 5ms
memory: 5180kb

input:

3 7
5 2 4

output:

3

result:

ok "3"

Test #2:

score: 0
Accepted
time: 4ms
memory: 5208kb

input:

5 4
1 2 3 2 1

output:

10

result:

ok "10"

Test #3:

score: 0
Accepted
time: 5ms
memory: 5208kb

input:

6 4
9 10 1 9 8 9

output:

1

result:

ok "1"

Test #4:

score: 0
Accepted
time: 4ms
memory: 5300kb

input:

8 0
4 9 2 9 2 3 9 10

output:

1

result:

ok "1"

Test #5:

score: 0
Accepted
time: 2ms
memory: 5128kb

input:

5 3
9 8 1 9 8

output:

1

result:

ok "1"

Test #6:

score: 0
Accepted
time: 2ms
memory: 5196kb

input:

6 12
4 7 2 9 1 9

output:

60

result:

ok "60"

Test #7:

score: -100
Wrong Answer
time: 2ms
memory: 5296kb

input:

10 18
9 6 3 9 5 3 9 9 5 1

output:

907200

result:

wrong answer 1st words differ - expected: '37800', found: '907200'