QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#51558#1443. Potato ShuffleMaMengQiWA 6ms7600kbC++142.5kb2022-10-02 16:56:592022-10-02 16:57:02

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 7548kb

input:

3 7
5 2 4

output:

3

result:

ok "3"

Test #2:

score: 0
Accepted
time: 6ms
memory: 7540kb

input:

5 4
1 2 3 2 1

output:

10

result:

ok "10"

Test #3:

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

input:

6 4
9 10 1 9 8 9

output:

1

result:

ok "1"

Test #4:

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

input:

8 0
4 9 2 9 2 3 9 10

output:

1

result:

ok "1"

Test #5:

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

input:

5 3
9 8 1 9 8

output:

1

result:

ok "1"

Test #6:

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

input:

6 12
4 7 2 9 1 9

output:

60

result:

ok "60"

Test #7:

score: -100
Wrong Answer
time: 5ms
memory: 7512kb

input:

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

output:

777173766

result:

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