QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#486076#6444. Pieces of ParenthesesstoccfWA 4ms40780kbC++142.6kb2024-07-21 15:56:242024-07-21 15:56:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 40780kb

input:

3
())
((()
)()

output:

10

result:

ok single line: '10'

Test #2:

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

input:

5
)))))
)
((
))((
(

output:

2

result:

ok single line: '2'

Test #3:

score: -100
Wrong Answer
time: 4ms
memory: 40704kb

input:

297
)(
(((((((((((((((((((((((((((((((
)(()((((((()((((()))((()()(((()((((
((((((((((()(((()))((((((((((()()((()((()())(((((()(((((((((((()
(
((()(())((()()()(()((((())(()(((()()
(((((((((((((((((((((((((((((((((((((((((
(()((((((((())(((()(()(((((())(((((((()))()(()(((())((()(()((
()()))(())))())((...

output:

4748

result:

wrong answer 1st lines differ - expected: '5552', found: '4748'