QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37358#1194. Parehtneses EditorGuanYunchangWA 3ms5964kbC++11817b2022-07-01 11:11:332022-07-01 11:11:35

详细

Test #1:

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

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

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

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: 2ms
memory: 5964kb

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
6
7
7
7
8
11
12
13
12
11
11
15
15
15
15
16
17
16
17
17
17
18
18
18
19
21
21
21
21
24
26
31
32
32
32
32
32
32
32
33
33
33
33
34
34
36
36
39
39
43
44
46
44
44
44
45
47
47
47
47
47
47
47
48
51
48
48
50
51
50
51
51
51
51
51
50
51
52
54
55
...

result:

wrong answer 33rd numbers differ - expected: '7', found: '6'