QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#489384#1281. Longest Common SubsequenceCreeper_lWA 18ms22152kbC++144.6kb2024-07-24 19:53:032024-07-24 19:53:05

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 19932kb

input:

3
3 3
1 2 3
1 2 3
3 3
1 1 1
1 1 2
3 3
1 3 2
1 2 3

output:

3
2
2

result:

ok 3 tokens

Test #2:

score: -100
Wrong Answer
time: 18ms
memory: 22152kb

input:

139889
1 10
2
2 1 2 2 3 1 1 2 3 3
7 1
3 2 3 3 1 1 2
2
6 1
2 1 3 1 1 1
1
8 7
3 1 3 3 2 2 3 1
3 2 2 1 3 3 3
10 3
3 2 1 1 2 2 1 1 1 1
3 1 1
5 2
1 2 1 3 1
1 2
1 4
1
3 3 3 3
7 2
3 1 2 1 2 2 3
3 2
6 2
3 1 1 2 1 3
1 3
1 4
1
3 1 1 3
4 2
2 3 2 3
1 3
1 8
1
1 1 3 1 3 3 3 1
4 1
1 3 3 3
1
10 10
3 1 2 1 2 2 2 2 1...

output:

1
0
0
1
0
0
1
4
1
0
0
0
0
0
0
1
1
0
1
0
1
1
1
1
1
1
1
1
1
0
0
1
0
1
0
0
0
0
0
4
0
1
0
0
1
0
2
2
0
0
0
1
0
1
0
0
0
0
1
0
1
1
2
1
1
0
0
0
0
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
0
0
4
1
1
2
1
2
0
1
1
0
1
0
0
1
0
1
0
1
0
4
2
0
0
0
0
0
1
2
0
1
0
0
1
0
1
0
2
1
0
2
0
1
3
1
1
2
0
0
0
0
1
0
0
2
1
1
1
0
1
0
1
0
0
1
...

result:

wrong answer 2nd words differ - expected: '1', found: '0'