QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#550801 | #9245. Bracket Sequence | ucup-team3807# | WA | 811ms | 87424kb | C++14 | 3.6kb | 2024-09-07 14:19:50 | 2024-09-07 14:19:50 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 20264kb
input:
5 20 (()() 1 1 2 1 1 1 3 1 1 1 4 1 1 1 5 1 1 2 3 1 1 2 4 1 1 2 5 1 1 3 4 1 1 3 5 1 1 4 5 1 2 1 3 1 2 1 4 1 2 1 5 1 2 2 3 1 2 2 4 1 2 2 5 1 2 3 5 1 2 4 5 1 1 1 5 2 2 1 5 2
output:
0 2 2 5 1 1 3 0 1 1 3 6 16 1 2 7 2 1 2 3
result:
ok 20 lines
Test #2:
score: -100
Wrong Answer
time: 811ms
memory: 87424kb
input:
100000 1000000 )())))))())()()()(())))()())))()))))())))))()(()()))()()))((()()))()))((())(())())()(()))))()))(()()()()()(())(()((()))()((()(()))()))()))()()))(())))()()(()(()())())((()((()((())()(()()))())(())())())))))))((())(((()(())())))(()(((())())))(((((((((()))()())())(()))(())()()()()((()())...
output:
-1239420276 -1555611120 604043356 -757875599 212200888 -25193403 143055520 -457439854 1765064368 2027959592 1031781528 -1459378470 -1646094306 1980077973 -2058326016 1651888583 -1868909094 -664848044 1796628965 -1863062267 -540710559 1522883 467154314 -1206502926 323296110 2126032750 1287147302 1426...
result:
wrong answer 1st lines differ - expected: '807252937', found: '-1239420276'