UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#98400#1694. 括号匹配(基础)COdEtreE1001ms1204kbC++11339b2020-02-21 23:30:282020-02-21 23:30:28

answer


详细

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

Test #1:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

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

output:

No

result:

ok single line: 'No'

Test #2:

score: 20
Accepted
time: 1ms
memory: 1204kb

input:

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

output:

Yes

result:

ok single line: 'Yes'

Test #3:

score: 20
Accepted
time: 0ms
memory: 1200kb

input:

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

output:

Yes

result:

ok single line: 'Yes'

Test #4:

score: 20
Accepted
time: 0ms
memory: 1204kb

input:

((((((((

output:

No

result:

ok single line: 'No'

Test #5:

score: 20
Accepted
time: 0ms
memory: 1204kb

input:

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

output:

Yes

result:

ok single line: 'Yes'