QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121042#6116. Changing the SequencesZhangYiDeWA 172ms5036kbC++204.2kb2023-07-07 14:37:232023-07-07 14:37:33

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3412kb

input:

4 3
2 2 3 3
2 2 2 2

output:

1 1 2 2

result:

ok 4 number(s): "1 1 2 2"

Test #2:

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

input:

5 3
2 2 3 3 2
2 2 2 2 3

output:

3 3 2 2 3

result:

ok 5 number(s): "3 3 2 2 3"

Test #3:

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

input:

1 1
1
1

output:

1

result:

ok 1 number(s): "1"

Test #4:

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

input:

1 60
60
60

output:

60

result:

ok 1 number(s): "60"

Test #5:

score: 0
Accepted
time: 3ms
memory: 3468kb

input:

1 60
1
60

output:

60

result:

ok 1 number(s): "60"

Test #6:

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

input:

1 60
60
1

output:

1

result:

ok 1 number(s): "1"

Test #7:

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

input:

1 60
1
1

output:

1

result:

ok 1 number(s): "1"

Test #8:

score: -100
Wrong Answer
time: 172ms
memory: 5036kb

input:

100000 60
18 36 47 52 31 3 43 49 2 4 60 23 22 3 4 25 11 50 25 40 51 51 59 5 11 50 47 28 29 21 46 39 46 49 23 50 1 24 15 30 45 12 5 2 4 33 23 29 35 35 47 13 10 24 20 44 23 16 27 4 25 27 47 27 57 47 35 31 24 47 27 17 45 44 29 44 43 4 23 20 22 43 2 53 41 32 56 21 28 56 21 15 44 60 11 52 36 26 33 26 4 5...

output:

41 3 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 37 0 0 37 0 0 0 37 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0...

result:

wrong answer 3rd numbers differ - expected: '18', found: '37'