QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37413#1194. Parehtneses EditorHuangHanShengWA 30ms8968kbC++11833b2022-07-01 13:13:462022-07-01 13:13:47

详细

Test #1:

score: 100
Accepted
time: 4ms
memory: 8736kb

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 4ms
memory: 8556kb

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: 30ms
memory: 8968kb

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
7
7
7
11
15
17
18
17
15
15
23
23
23
23
24
25
24
25
25
25
26
26
26
27
29
29
29
29
33
35
51
53
53
53
53
53
53
53
54
54
54
54
55
55
57
57
61
61
69
70
72
70
70
70
71
73
73
73
73
73
73
73
74
78
74
74
76
80
76
80
80
80
80
80
80
81
82
86
87...

result:

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