QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#613797 | #4212. Brackets | LYH_cpp | WA | 901ms | 7880kb | C++23 | 1.7kb | 2024-10-05 14:46:04 | 2024-10-05 14:46:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 901ms
memory: 7752kb
input:
2 1 2 1 2
output:
()()
result:
ok single line: '()()'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3552kb
input:
1 1 1
output:
(
result:
ok single line: '('
Test #3:
score: 0
Accepted
time: 900ms
memory: 7880kb
input:
4 4 3 1 2 3 2 1 4
output:
(
result:
ok single line: '('
Test #4:
score: 0
Accepted
time: 900ms
memory: 7692kb
input:
4 3 1 2 1 4 3 2 4
output:
(()()())
result:
ok single line: '(()()())'
Test #5:
score: 0
Accepted
time: 896ms
memory: 7684kb
input:
4 2 4 3 1 3 4 2 1
output:
()()()()
result:
ok single line: '()()()()'
Test #6:
score: 0
Accepted
time: 901ms
memory: 7852kb
input:
4 4 4 3 3 1 2 1 2
output:
(((())))
result:
ok single line: '(((())))'
Test #7:
score: 0
Accepted
time: 901ms
memory: 7616kb
input:
4 1 3 1 2 4 4 2 3
output:
()(())()
result:
ok single line: '()(())()'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
11 3 9 10 5 4 7 7 8 11 9 5 3 6 1 2 11 10 6 1 2 4 8
output:
(
result:
ok single line: '('
Test #9:
score: 0
Accepted
time: 900ms
memory: 7716kb
input:
20 16 3 16 6 5 6 19 11 15 10 14 18 20 18 8 7 13 1 7 3 8 2 9 17 9 19 12 14 4 2 15 4 11 1 13 5 20 17 10 12
output:
(((((((((((()()))))()))))()())()())())()
result:
ok single line: '(((((((((((()()))))()))))()())()())())()'
Test #10:
score: -100
Wrong Answer
time: 901ms
memory: 7704kb
input:
12 10 3 2 5 7 4 9 12 12 4 11 2 8 1 6 1 10 8 9 11 7 3 6 5
output:
((()())(())()()(()))(())
result:
wrong answer 1st lines differ - expected: '((()((())()())))()()(())', found: '((()())(())()()(()))(())'