QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#595039#9425. Generated Stringucup-team4974#WA 3ms3708kbC++172.9kb2024-09-28 12:12:312024-09-28 12:12:31

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

8 7
abcaabbc
+ 3 1 3 2 4 3 8
+ 2 1 4 1 8
+ 1 2 4
? 1 5 6 1 7 8
- 3
+ 1 2 5
? 1 2 3 1 5 5

output:

2
1

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3708kb

input:

5 2000
bbaab
+ 1 3 5
+ 2 5 5 3 5
- 2
? 1 1 3 3 3 3 4 5 2 5
- 1
? 3 1 1 2 4 1 5 1 3 4
? 1 1 2 2 2 4 4 4
? 1 1 5 1 5 5
+ 3 1 2 1 5 1 4
? 2 1 5 1 3 2 1 2 5 5
? 1 3 4 1 4 5
- 9
? 1 1 4 1 2 3
+ 2 1 5 1 2
+ 1 1 4
- 15
- 14
? 2 2 5 2 5 1 3 4
+ 1 2 3
- 19
+ 3 1 4 1 5 4 5
- 21
+ 1 2 5
? 3 1 5 5 5 1 5 1 3 5
?...

output:

0
0
0
0
0
0
0
0
0
2
0
0
4
1
0
0
0
1
1
0
4
0
0
1
0
6
0
0
1
1
6
3
0
15
4
0
0
2
3
1
2
2
0
0
0
0
0
3
22
0
9
0
0
2
11
0
8
0
1
5
1
0
19
18
1
14
0
15
0
1
0
33
12
29
0
1
24
0
13
27
4
0
0
0
6
0
14
1
25
3
0
14
0
0
7
17
24
4
32
1
0
7
0
17
3
3
13
9
13
1
0
5
0
6
47
9
5
0
2
0
19
0
1
0
3
8
3
0
55
5
3
17
36
64
55
4...

result:

wrong answer 10th lines differ - expected: '1', found: '2'