Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Balancing brackets

Language: Layout:
+ ] Show input
Absolute running time: 0.13 sec, cpu time: 0.08 sec, memory peak: 3 Mb, absolute service time: 0,14 sec 
edit mode |  history  | discussion
'(((()((()()         '  unclosed brackets
'((()()))((()()      '  unclosed brackets
'(()))(()))          '  bracket closed before open near position 4
'(()))               '  bracket closed before open near position 4
'((())())())(((      '  bracket closed before open near position 10
'((())(              '  unclosed brackets
'(()(()))))(         '  bracket closed before open near position 8
'())))(              '  bracket closed before open near position 2
')(((((()(()))(      '  bracket closed before open near position 0
')(((()))(()         '  bracket closed before open near position 0
')()))((()((())      '  bracket closed before open near position 0