QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#339764#8285. Shell Sortucup-team118WA 39ms4580kbC++233.5kb2024-02-27 20:59:202024-02-27 20:59:21

詳細信息

Test #1:

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

input:

2 2
2 1

output:

1 1

result:

ok 2 number(s): "1 1"

Test #2:

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

input:

5 4
5 4 2 1

output:

6 4

result:

ok 2 number(s): "6 4"

Test #3:

score: 0
Accepted
time: 1ms
memory: 3760kb

input:

8 4
6 3 2 1

output:

15 4

result:

ok 2 number(s): "15 4"

Test #4:

score: 0
Accepted
time: 1ms
memory: 3556kb

input:

8 6
8 7 5 4 2 1

output:

14 2

result:

ok 2 number(s): "14 2"

Test #5:

score: 0
Accepted
time: 1ms
memory: 3764kb

input:

8 3
8 7 1

output:

22 7

result:

ok 2 number(s): "22 7"

Test #6:

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

input:

8 1
1

output:

28 1

result:

ok 2 number(s): "28 1"

Test #7:

score: -100
Wrong Answer
time: 39ms
memory: 4580kb

input:

16 2
6 1

output:

77 11

result:

wrong answer 2nd numbers differ - expected: '15', found: '11'