QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#725769#6507. Recover the StringZ_301WA 168ms46884kbC++143.2kb2024-11-08 19:54:342024-11-08 19:54:35

详细

Test #1:

score: 100
Accepted
time: 7ms
memory: 46884kb

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: 168ms
memory: 44620kb

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
aab
abc
aaaa
aaab
aaba
aabb
aabc
aaba
abab
abac
abba
aaab
abbc
abca
abac
aabc
abcd
aaaaa
aaaaa
aaaba
aaabb
aaaaa
aabaa
aabab
aabac
aabba
aaabb
aabbc
aabca
aabcb
aabcc
aabcd
aaaba
abaab
abaac
ababa
aaaaa
ababc
abaca
abacb
aabcb
abacd
aabba
abaab
aaaab
aaaaa
aaaab
aaaab
abbca
abaac...

result:

wrong answer 25th lines differ - expected: 'aaaab', found: 'aaaaa'