QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#612590#9444. Again Permutation Problemucup-team4685#WA 6ms4108kbC++173.2kb2024-10-05 12:11:092024-10-05 12:11:10

详细

Test #1:

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

input:

3 2
1 2 3
2 3 1

output:

4

result:

ok 1 number(s): "4"

Test #2:

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

input:

5 2
3 4 5 1 2
1 5 4 3 2

output:

50

result:

ok 1 number(s): "50"

Test #3:

score: -100
Wrong Answer
time: 6ms
memory: 4108kb

input:

30 12
1 2 9 4 5 6 7 8 3 10 11 12 19 14 15 25 17 18 20 26 21 22 23 24 16 29 27 28 13 30
9 2 27 4 5 10 7 8 1 25 11 12 24 14 15 16 17 18 19 20 21 22 23 28 6 26 3 13 29 30
1 5 3 29 2 6 7 8 9 10 11 12 13 16 15 18 17 14 19 20 21 22 28 27 25 26 24 23 4 30
7 2 3 25 5 6 1 28 21 15 11 12 13 14 10 17 16 18 19 ...

output:

479278415

result:

wrong answer 1st numbers differ - expected: '701414999', found: '479278415'