QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#39507#1194. Parehtneses EditorcsffmWA 4ms3880kbC++111.2kb2022-07-10 19:10:192022-07-10 19:10:20

详细

Test #1:

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

input:

(()())---)

output:

0 0 1 1 3 4 3 1 1 2 

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 2ms
memory: 3656kb

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: 4ms
memory: 3880kb

input:

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

output:

0 0 0 0 0 0 1 1 1 2 2 2 2 2 1 1 1 3 3 3 3 5 7 5 5 5 6 6 8 8 8 10 8 6 6 6 7 7 7 7 7 7 7 7 7 7 7 8 9 8 8 8 8 9 9 9 10 12 12 12 12 13 15 16 16 16 16 16 16 16 16 17 17 17 17 18 18 20 20 22 22 24 25 27 25 25 25 26 28 28 28 28 28 28 28 29 30 29 29 31 33 31 33 33 33 33 33 31 32 34 36 38 38 38 38 38 38 39 3...

result:

wrong answer 18th numbers differ - expected: '2', found: '3'