QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#75941#1194. Parehtneses EditorLoverInTimeWA 3ms5768kbC++20932b2023-02-06 17:51:332023-02-06 17:51:36

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 5768kb

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

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

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: 3ms
memory: 3792kb

input:

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

output:

0
0
0
0
0
0
1
1
1
2
2
2
2
2
1
1
1
2
2
2
2
3
5
3
3
3
4
4
6
6
6
7
6
4
4
4
5
6
8
9
8
6
6
7
7
7
7
8
9
8
9
9
9
10
10
10
11
13
13
13
13
16
18
20
22
22
22
22
22
22
22
23
23
23
23
24
24
26
26
29
29
33
34
36
34
34
34
35
36
36
36
36
36
36
36
37
39
37
37
38
40
38
40
40
40
40
40
38
40
42
43
44
44
44
44
44
44
45...

result:

wrong answer 22nd numbers differ - expected: '4', found: '3'