QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37337#1194. Parehtneses EditorGuanYunchangWA 5ms6008kbC++11817b2022-07-01 10:35:232022-07-01 10:35:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

(()())---)

output:

0
0
1
1
3
4
3
1
1
2

result:

ok 10 numbers

Test #2:

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

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: 5ms
memory: 6008kb

input:

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

output:

0
0
0
0
0
0
1
1
1
2
2
2
2
1
0
0
0
2
2
-1
-1
-1
-1
1
1
1
2
2
4
4
2
2
2
1
1
1
2
2
5
8
5
4
4
7
7
7
7
8
9
10
12
12
12
13
13
13
14
16
16
16
16
19
22
23
23
23
26
26
26
26
26
27
27
27
27
28
28
30
30
33
33
37
38
40
37
37
37
38
39
39
39
39
39
40
38
39
40
39
39
41
42
41
42
42
42
42
42
41
42
43
45
46
46
46
46
...

result:

wrong answer 14th numbers differ - expected: '2', found: '1'