Bracket Walk
1838D2100· master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
10 9(())()()))972636748
Output
YESYESNONOYESNOYESNONO
Sample 2of 2
Input
3 2(()23
Output
NONO
58%
1838D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)