QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#37385#1194. Parehtneses EditorZhaoZiLongWA 2ms11772kbC++172.5kb2022-07-01 12:35:572022-07-01 12:35:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

(()())---)

output:

0 0 1 1 3 4 3 1 1 2 

result:

ok 10 numbers

Test #2:

score: 0
Accepted
time: 1ms
memory: 11740kb

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: 2ms
memory: 9964kb

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'