QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#725763#6507. Recover the StringZ_301WA 162ms50660kbC++143.2kb2024-11-08 19:51:042024-11-08 19:51:04

詳細信息

Test #1:

score: 100
Accepted
time: 9ms
memory: 50660kb

input:

3
1 0
5 6
2 4
2 5
5 3
4 3
1 5
1 4
8 11
1 2
1 4
1 6
2 5
3 4
3 6
4 5
4 7
5 8
6 7
7 8

output:

a
aba
aaba

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 162ms
memory: 46872kb

input:

26837
1 0
2 1
2 1
3 2
1 3
2 3
3 2
3 1
1 2
5 5
4 3
5 1
1 2
3 2
5 3
5 6
2 4
2 5
5 3
4 3
1 5
1 4
5 5
1 5
2 1
2 4
4 5
3 4
6 6
1 4
5 3
2 4
4 6
3 6
2 3
4 3
1 3
3 4
2 1
7 8
2 5
1 3
7 1
3 5
7 6
1 2
4 6
6 3
8 11
2 6
2 7
3 7
8 1
6 4
4 5
7 4
7 1
3 8
2 8
1 5
8 10
8 1
4 5
7 8
3 5
3 1
7 3
1 2
5 2
6 4
6 3
9 11
5 2...

output:

a
aa
ab
aaa
aab
aba
aaa
aab
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
abab
aaba
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaa
aaaaa
aaaba
aaaba
aaaaa
aaaaa
aaaba
aaaba
aaaaa
aaaba
aaaba
aaaba
aaaaa
aaaba
aaaba
aaaaa
aaaba
aaaba
aaaba
ababa
aaaba
aaaaa
aaaaa
aaaaa
aaaaa
aaaaa
aaaba
aaaba
aaaaa
aaaaa
aaaba
aaaba
aaaba
aaaba...

result:

wrong answer 7th lines differ - expected: 'aab', found: 'aaa'