Skip to content

防犯ゲート (Security Gate)

Unrated
日本語

Language

Contribute a translation
Time limit
5000 ms
Memory limit
1536 MB
Submissions
0
Correct
0
Solved by
0
AC rate
—

Statement

防犯ゲート (Security Gate):公式日本語問題文 1ページ

防犯ゲート (Security Gate):公式日本語問題文 2ページ

防犯ゲート (Security Gate):公式日本語問題文 3ページ

Examples

Sample input 1
4
x))x
Sample output 1
3
Sample input 2
10
xx(xx()x(x
Sample output 2
45
Sample input 3
5
x))x(
Sample output 3
0
Sample input 4
10
xxxxxxxxxx
Sample output 4
684

Notes

Tags

No tags yet

Source