QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#537368#6454. Unbalanced Parenthesesucup-team1005#WA 11ms4496kbC++142.1kb2024-08-30 11:08:342024-08-30 11:08:35

详细

Test #1:

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

input:

4 1
((()
480
617
-570
928

output:

480

result:

ok single line: '480'

Test #2:

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

input:

4 3
)()(
-532
870
617
905

output:

?

result:

ok single line: '?'

Test #3:

score: -100
Wrong Answer
time: 11ms
memory: 4496kb

input:

77943 7851
())()(()))(()())(())()()()(((()(()())(()(()()))(()())((())))(()(())()())(()(())()()((()))()(((()))()((((((((()())))()((())))))((())(()()(())((())(((()()(()()()()()())(()(()()())(((()))(())))()))(())))((()))((()((((((()((()(()((()()))(())((()(()))()((()))(((()((()(((()((()))))(())))(()())(...

output:

-18794896

result:

wrong answer 1st lines differ - expected: '-19567394', found: '-18794896'