摘要: Add 题意 将序列进行一系列的操作,输出对 \(a_{1}\) 的期望值。 题目中操作说的比较明了,再次就不特殊声明了。 思路 据题意所知,每一个 \(n\) 应该对应了一个固定的答案。 于是我就想到可以打表,就打出了下面的式子。 n=1时 ans=1 n=2时 ans=5 n=3时 ans=14 阅读全文
posted @ 2024-04-27 11:36 Kcjhfqr 阅读(69) 评论(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; }