QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#588184 | #9245. Bracket Sequence | ucup-team3719 | WA | 1459ms | 743008kb | C++23 | 4.9kb | 2024-09-25 05:17:50 | 2024-09-25 05:17:51 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 14092kb
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: 1459ms
memory: 743008kb
input:
100000 1000000 )())))))())()()()(())))()())))()))))())))))()(()()))()()))((()()))()))((())(())())()(()))))()))(()()()()()(())(()((()))()((()(()))()))()))()()))(())))()()(()(()())())((()((()((())()(()()))())(())())())))))))((())(((()(())())))(()(((())())))(((((((((()))()())())(()))(())()()()()((()())...
output:
807252937 635856582 756424223 122104482 597950507 648965718 253913657 933548232 392529556 736028324 426329153 774752183 315566541 444655931 76394527 216715407 217829012 412867000 207191351 302716489 498728925 1522883 51832348 78253278 588833324 767355719 605305965 473144526 340780822 560211504 91455...
result:
wrong answer 2nd lines differ - expected: '333653009', found: '635856582'