QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#629420 | #9245. Bracket Sequence | ucup-team4744 | WA | 664ms | 109560kb | C++20 | 3.3kb | 2024-10-11 11:27:45 | 2024-10-11 11:27:45 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 11ms
memory: 88016kb
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: 664ms
memory: 109560kb
input:
100000 1000000 )())))))())()()()(())))()())))()))))())))))()(()()))()()))((()()))()))((())(())())()(()))))()))(()()()()()(())(()((()))()((()(()))()))()))()()))(())))()()(()(()())())((()((()((())()(()()))())(())())())))))))((())(((()(())())))(()(((())())))(((((((((()))()())())(()))(())()()()()((()())...
output:
827235860 740121901 64430291 462553686 608792116 544032268 979724558 431315164 862120010 977534955 56932211 918378654 490998889 549876335 491109820 678959109 566013840 912824234 613602938 227639282 157300309 624208215 48226798 653505031 642282639 378159449 925883026 101959661 316559915 307777003 602...
result:
wrong answer 1st lines differ - expected: '807252937', found: '827235860'