QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#103105#6116. Changing the SequencesThreeKonjaks#TL 10ms7768kbC++143.2kb2023-05-04 14:45:492023-05-04 14:45:52

詳細信息

Test #1:

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

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: 2ms
memory: 7728kb

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: 2ms
memory: 7652kb

input:

1 1
1
1

output:

1 

result:

ok 1 number(s): "1"

Test #4:

score: 0
Accepted
time: 10ms
memory: 7740kb

input:

1 60
60
60

output:

60 

result:

ok 1 number(s): "60"

Test #5:

score: 0
Accepted
time: 10ms
memory: 7720kb

input:

1 60
1
60

output:

60 

result:

ok 1 number(s): "60"

Test #6:

score: 0
Accepted
time: 7ms
memory: 7768kb

input:

1 60
60
1

output:

1 

result:

ok 1 number(s): "1"

Test #7:

score: 0
Accepted
time: 10ms
memory: 7684kb

input:

1 60
1
1

output:

1 

result:

ok 1 number(s): "1"

Test #8:

score: -100
Time Limit Exceeded

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:


result: