QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#206498#7341. A Text ProblemZhangYiDeTL 0ms3548kbC++203.1kb2023-10-07 20:50:232023-10-07 20:50:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3548kb

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:

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

result: