UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#110650#1530. 合法的括号LightningUZ0663ms63948kbC++111009b2020-06-27 20:35:262020-06-27 20:35:26

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 0
Runtime Error

input:

1

output:


result:


Test #2:

score: 0
Runtime Error

input:

2

output:


result:


Test #3:

score: 0
Runtime Error

input:

3

output:


result:


Test #4:

score: 0
Wrong Answer
time: 0ms
memory: 1268kb

input:

4

output:

(((())))
((()()))
((())())
((()))()
(()(()))
(()()())
(()())()
(())()()
()((()))
()((()))
()(()())
(...

result:

wrong answer 10th lines differ - expected: '()(()())', found: '()((()))'

Test #5:

score: 0
Wrong Answer
time: 0ms
memory: 1268kb

input:

5

output:

((((()))))
(((()())))
(((())()))
(((()))())
(((())))()
((()(())))
((()()()))
(())()()
()((()))
((())...

result:

wrong answer 8th lines differ - expected: '((()())())', found: '(())()()'

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 1284kb

input:

6

output:

(((((())))))
((((()()))))
((((())())))
((((()))()))
((((())))())
((((()))))()
(((()(()))))
(())()()
...

result:

wrong answer 8th lines differ - expected: '(((()()())))', found: '(())()()'

Test #7:

score: 0
Wrong Answer
time: 0ms
memory: 1296kb

input:

7

output:

((((((()))))))
(((((()())))))
(((((())()))))
(((((()))())))
(((((())))()))
(((((()))))())
(((((())))...

result:

wrong answer 8th lines differ - expected: '((((()(())))))', found: '(())()()'

Test #8:

score: 0
Wrong Answer
time: 0ms
memory: 1376kb

input:

8

output:

(((((((())))))))
((((((()()))))))
((((((())())))))
((((((()))()))))
((((((())))())))
((((((()))))())...

result:

wrong answer 8th lines differ - expected: '((((((()))))))()', found: '(())()()'

Test #9:

score: 0
Runtime Error

input:

0
9

output:


result:


Test #10:

score: 0
Wrong Answer
time: 663ms
memory: 63948kb

input:

13

output:

((((((((((((()))))))))))))
(((((((((((()())))))))))))
(((((((((((())()))))))))))
(((((((((((()))()))...

result:

wrong answer 8th lines differ - expected: '(((((((((((()))))))())))))', found: '(())()()'