QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37332#1194. Parehtneses EditorGuanYunchangWA 2ms3940kbC++11500b2022-07-01 10:09:402022-07-01 10:09:42

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3696kb

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

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

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
Wrong Answer
time: 0ms
memory: 3940kb

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
11
7
5
5
5
6
7
9
13
9
7
7
10
10
10
10
11
12
11
12
12
12
13
13
13
14
16
16
16
16
21
24
30
32
32
32
32
32
32
32
33
33
33
33
34
34
36
36
40
40
48
49
51
49
49
49
50
67
67
67
67
67
67
67
68
103
68
68
70
105
70
105
105
105
105
105
70
105
107
10...

result:

wrong answer 32nd numbers differ - expected: '10', found: '11'