QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37338#1194. Parehtneses EditorHuangHanShengWA 6ms5792kbC++141.1kb2022-07-01 10:35:262022-07-01 10:35:28

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 5792kb

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

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

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: 6ms
memory: 3956kb

input:

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

output:

0
0
0
0
0
0
1
1
1
3
3
3
3
3
1
1
1
3
3
3
3
7
9
7
7
7
15
15
31
31
31
39
31
15
15
15
31
47
63
71
63
47
47
95
95
95
95
191
287
191
287
287
287
575
575
575
1151
1727
1727
1727
1727
3455
3743
3839
3855
3855
3855
3855
3855
3855
3855
7711
7711
7711
7711
15423
15423
30847
30847
61695
61695
123391
131103
1388...

result:

wrong answer 10th numbers differ - expected: '2', found: '3'