QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37427#1194. Parehtneses EditorGuanYunchangRE 5ms8392kbC++11801b2022-07-01 13:50:592022-07-01 13:50:59

详细

Test #1:

score: 100
Accepted
time: 5ms
memory: 8392kb

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 2ms
memory: 8316kb

input:

()--()()----)(()()))

output:

0
1
0
0
0
1
1
3
1
1
0
0
0
0
0
1
1
3
4
4

result:

ok 20 numbers

Test #3:

score: -100
Runtime Error

input:

))(((-)(()((---(-)(-())-(()()(-)--(())))--()((())-)(()(())((-))))(-(((()((()()()()))-(())((((--))-())-)(-(--))))((((-)(-(-)((((()--(---)(-))()(-)(()()-(())()(()()((()()))))(()(()(-(--)-()((()(((()-))-)(()-()()-(-((-)(-)(((()-)))))-())()-(()((()(-)()))((-))())))()()()(-(-(())-()(()-)-))((()))((--(-()...

output:

0
0
0
0
0
0
1
1
1
2
2
2
2
2
1
1
1
2
2
2
2
4
6
4
4
4
5
5
7
7
7
10
7
7
7
7
10
13
15
16
15
13
13
17
17
17
17
18
19
18
19
19
19
20
20
20
21
23
23
23
23
26
28
33
35
35
35
35
35
35
35
36
36
36
36
37
37
39
39
42
42
46
47
49
47
47
47
48
50
50
50
50
50
50
50
51
54
51
51
53
56
53
56
56
56
56
56
56
57
58
61
62...

result: