摘要:
题目:ConstraintsTime Limit: 1 secs, Memory Limit: 256 MBDescriptionMirko has found N chains in his attic. Each chain consists of some number of links, where each link has at most two adjacent links. Each link can be opened or closed, so it is possible to separate chains or connect them into a longer c 阅读全文