QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#185322#7309. Compressed LCSguangyunhuangWA 2ms4532kbC++144.0kb2023-09-21 21:14:592023-09-21 21:15:04

详细

Test #1:

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

input:

1 3
1 2
1 1
2 1
1 2
4 4
1 1
2 1
3 1
4 1
1 1
3 1
2 1
4 1
1 1
1000000000 999
1000000000 1000

output:

2
3
999

result:

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

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 4532kb

input:

6 13
13 9
24 75
23 30
2 235
14 45
6 6
15 13
10 41
23 33
2 53
5 4
21 10
7 53
2 19
11 13
17 45
12 143
11 33
22 10
8 19
14 119
20 27
22 23
12 76
24 84
18 35
26 3
10 48
1 15
14 45
3 11
12 9
10 46
20 55
14 12
1 33
19 21
13 32
9 89
8 15
18 25
19 9
4 40
18 4
15 9
22 15
1 9
17 8
20 3
5 45
9 35
6 12
10 21
13...

output:

102
101
89
67
0
157
67
16
48
12
21
36
96
131
173
74
12
6
203
38
35
51
144
137
27
98
162
868086055
868086008
98
21898
55
868086019
43
50
145
85
31
112
112
174
125
163
74
15
4
54
152
0
96
151
0
45
40
113
259
0
0
93
142
183
72
130
56
129
119
61
50
4
133
121
0
35
35
42
137
52
0
124
25
218
174
18
108
91
...

result:

wrong answer 9th numbers differ - expected: '45', found: '48'