cf/mirror

Higher Order Functions

CF
1578H1700· expert2s1024 MB⌨ stdin/stdout

Examples

Sample 1of 5
Input
()
Output
0
Sample 2of 5
Input
()->()
Output
1
Sample 3of 5
Input
()->()->()
Output
1
Sample 4of 5
Input
(()->())->()
Output
2
Sample 5of 5
Input
()->(((()->())->()->())->())
Output
3
1578H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)