QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37357#1194. Parehtneses EditorHuangHanShengWA 1ms5852kbC++17987b2022-07-01 11:10:112022-07-01 11:10:13

詳細信息

Test #1:

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

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 5852kb

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: 1ms
memory: 5844kb

input:

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

output:

0
0
0
0
0
0
1
1
1
2
2
2
2
2
1
1
1
1
1
1
1
2
2
2
2
2
3
3
5
5
5
7
5
3
3
3
3
3
3
3
3
3
3
4
4
4
4
5
5
5
5
5
5
5
5
5
6
7
7
7
7
9
9
9
9
9
9
9
9
9
9
10
10
10
10
11
11
13
13
16
16
20
21
21
21
21
21
22
24
24
24
24
24
24
24
25
28
25
25
27
27
27
27
27
27
27
27
27
27
27
28
28
28
28
28
28
28
29
29
29
29
29
30
30...

result:

wrong answer 18th numbers differ - expected: '2', found: '1'