QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37406#1194. Parehtneses EditorZhangYiDeRE 5ms8904kbC++11807b2022-07-01 12:58:262022-07-01 12:58:27

详细

Test #1:

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

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 5ms
memory: 8904kb

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
Dangerous Syscalls

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: