QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#37384#1194. Parehtneses EditorHuangHanShengWA 5ms9704kbC++172.5kb2022-07-01 12:33:532022-07-01 12:33:56

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 7524kb

input:

(()())---)

output:

0 0 1 1 3 4 3 1 1 2 

result:

ok 10 numbers

Test #2:

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

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: 7784kb

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'