QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#319658 | #4824. Bracket-and-bar Sequences | daoquanglinh2007 | 0 | 0ms | 3688kb | C++20 | 2.8kb | 2024-02-02 23:01:51 | 2024-02-02 23:01:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3688kb
input:
encode 3 1 (|) 4 ((((|)|)|)|) 5 (|(|))((|(|))|)
output:
1 24 178
input:
decode 3 1 1 4 24 5 178
output:
(|) ((((|)|)|)|) (|(|))((|(|))|)
result:
ok 3 lines
Test #2:
score: 100
Accepted
time: 0ms
memory: 3600kb
input:
encode 1 1 (|)
output:
1
input:
decode 1 1 1
output:
(|)
result:
ok single line: '(|)'
Test #3:
score: 100
Accepted
time: 0ms
memory: 3660kb
input:
encode 3 2 ((|)|) 1 (|) 2 (|(|))
output:
2 1 1
input:
decode 3 2 2 1 1 2 1
output:
((|)|) (|) (|(|))
result:
ok 3 lines
Test #4:
score: 0
Stage 2: Program answer Runtime Error
input:
encode 1000 3 (|)(|)(|) 3 (|)(|(|)) 3 (|)((|)|) 3 (|(|))(|) 3 (|(|)(|)) 3 (|(|(|))) 3 (|((|)|)) 3 ((|)|)(|) 3 ((|)|(|)) 3 ((|)(|)|) 3 ((|(|))|) 3 (((|)|)|) 4 (|)(|)(|)(|) 4 (|)(|)(|(|)) 4 (|)(|)((|)|) 4 (|)(|(|))(|) 4 (|)(|(|)(|)) 4 (|)(|(|(|))) 4 (|)(|((|)|)) 4 (|)((|)|)(|) 4 (|)((|)|(|)) 4 (|)((|)...
output:
14 8 9 10 3 1 2 11 4 7 5 6 68 56 57 58 33 31 32 59 34 37 35 36 55 38 39 44 42 43 14 8 9 10 3 1 2 11 4 7 5 6 56 40 41 45 15 13 14 48 46 47 18 16 17 32 26 27 28 21 19 20 29 22 25 23 24 340 320 321 322 264 262 263 323 265 268 266 267 319 269 270 275 273 274 157 151 152 153 146 144 145 154 147 150 148 1...
input:
decode 1000 3 14 3 8 3 9 3 10 3 3 3 1 3 2 3 11 3 4 3 7 3 5 3 6 4 68 4 56 4 57 4 58 4 33 4 31 4 32 4 59 4 34 4 37 4 35 4 36 4 55 4 38 4 39 4 44 4 42 4 43 4 14 4 8 4 9 4 10 4 3 4 1 4 2 4 11 4 4 4 7 4 5 4 6 4 56 4 40 4 41 4 45 4 15 4 13 4 14 4 48 4 46 4 47 4 18 4 16 4 17 4 32 4 26 4 27 4 28 4 21 4 19 4...