QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206502#7341. A Text ProblemGuanYunchangTL 1ms3492kbC++203.1kb2023-10-07 20:52:292023-10-07 20:52:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

1
abcdefghij
2
abd
a

output:

1
10

result:

ok 2 number(s): "1 10"

Test #2:

score: -100
Time Limit Exceeded

input:

2694
xzzyzyzzzxzxzxyzyxyxx
20
yyz
xz
y
zzzy
z
zyy
x
x
zx
zzz
z
xx
zxyy
x
xzxz
zxxy
xz
yxxz
z
z
zxxxxxyzxyxzyyxyzxyxzyzxzyxzyzxzxzyzyz
20
xy
zxx
yyx
yy
yxyz
zzyz
xzzy
yxzx
zxyy
yzz
y
y
xzx
zy
yxz
yyyx
yzy
zyyz
z
xz
xzzyzyzxzxzzzzxzzzyxzyxzyxxyyyyyy
20
xxxx
zzzz
xxy
z
yxzz
yy
x
yxy
zyy
xxz
yz
zyx
yxyz...

output:

4
15
21
3
21
5
21
21
15
11
21
12
1
21
6
1
15
0
21
21
25
12
10
22
6
4
1
4
4
8
38
38
17
23
13
1
13
2
38
26
0
12
6
33
4
21
33
9
12
9
24
12
1
8
22
33
3
33
13
33
1
0
0
1
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0
1
3
0
0
0
3
0
3
1
3
1
0
3
0
1
0
0
18
12
30
18
18
19
30
8
11
4
11
30
2
8
3
3
18
9
3
19
16
10
16
5
...

result: