摘要: 题解:CF1971B Different String 题意 给予你一个字符串 \(s\),保证 \(s\) 的长度小于等于 \(10\)。 任意排列 \(s\),使其与原 \(s\) 不同。 判断是否可以完成。 思路 由于字符串的长度最多为 \(10\),我们可以尝试字符串的两个字符的所有交换。复 阅读全文
posted @ 2024-05-16 17:26 Kcjhfqr 阅读(26) 评论(0) 推荐(0)
摘要: 题解:CF1971C Clock and Strings 题意 在上图的一个圆中,给予你四个点 \(a,b,c,d\),判断线段 \(ab\) 与线段 \(cd\) 是否相交。 思路 先设置一个字符串 \(s\)。 从 \(1\) 到 \(12\) 扫描,如果扫描到 \(a,b\),则在 \(s\) 阅读全文
posted @ 2024-05-16 17:26 Kcjhfqr 阅读(53) 评论(0) 推荐(0)
.poem-wrap { position: relative; width: 1000px; max-width: 80%; border: 2px solid #797979; border-top: none; text-align: center; margin: 40px auto; } .poem-left { left: 0; } .poem-right { right: 0; } .poem-border { position: absolute; height: 2px; width: 27%; background-color: #797979; } .poem-wrap p { width: 70%; margin: auto; line-height: 30px; color: #797979; } .poem-wrap h1 { position: relative; margin-top: -20px; display: inline-block; letter-spacing: 4px; color: #797979; font-size: 2em; margin-bottom: 20px; } #poem_sentence { font-size: 25px; } #poem_info { font-size: 15px; margin: 15px auto; }