UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#129269#1530. 合法的括号Nick11301ms1188kbC++657b2021-06-18 21:55:282021-06-18 21:55:30

answer


详细

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

Test #1:

score: 10
Accepted
time: 0ms
memory: 1184kb

input:

1

output:

()

result:

ok single line: '()'

Test #2:

score: 10
Accepted
time: 0ms
memory: 1188kb

input:

2

output:

(())
()()

result:

ok 2 lines

Test #3:

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

input:

3

output:

((()))
()(())
()()()
(()())
(())()

result:

wrong answer 2nd lines differ - expected: '(()())', found: '()(())'

Test #4:

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

input:

4

output:

(((())))
()((()))
()(()())
()(())()
(()(()))
(()()())
(()())()
((()()))
((())())
((()))()

result:

wrong answer 2nd lines differ - expected: '((()()))', found: '()((()))'

Test #5:

score: 0
Wrong Answer
time: 1ms
memory: 1188kb

input:

5

output:

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

result:

wrong answer 2nd lines differ - expected: '(((()())))', found: '()(((())))'

Test #6:

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

input:

6

output:

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

result:

wrong answer 2nd lines differ - expected: '((((()()))))', found: '()((((()))))'

Test #7:

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

input:

7

output:

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

result:

wrong answer 2nd lines differ - expected: '(((((()())))))', found: '()(((((())))))'

Test #8:

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

input:

8

output:

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

result:

wrong answer 2nd lines differ - expected: '((((((()()))))))', found: '()((((((()))))))'

Test #9:

score: 10
Accepted
time: 0ms
memory: 1180kb

input:

0
9

output:



result:

ok 0 lines

Test #10:

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

input:

13

output:

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

result:

wrong answer 2nd lines differ - expected: '(((((((((((()())))))))))))', found: '()(((((((((((())))))...