Bracket Coloring
1837D1400· specialist2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
48((())))(4(())4))((3(()
Output
22 2 2 1 2 2 2 111 1 1 111 1 1 1-1
58%
1837D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
48((())))(4(())4))((3(()
22 2 2 1 2 2 2 111 1 1 111 1 1 1-1