QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37425#1194. Parehtneses EditorHuangHanShengRE 4ms8620kbC++11904b2022-07-01 13:44:102022-07-01 13:44:10

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 0ms
memory: 8252kb

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
Runtime Error

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
7
7
7
7
10
13
15
16
15
13
13
17
17
17
17
18
19
18
19
19
19
20
20
20
21
23
23
23
23
26
28
33
35
35
35
35
35
35
35
36
36
36
36
37
37
39
39
42
42
46
47
49
47
47
47
48
50
50
50
50
50
50
50
51
54
51
51
53
56
53
56
56
56
56
56
56
57
58
61
62...

result: