摘要: sqrt technology, sqrt faith. 洛谷 CF 定义一个数为幸运数字,当且仅当其十进制数位中仅有 \(4\) 和 \(7\) 组成。 给出长度为 \(n\) 的序列 \(p_1\sim p_n\),有 \(q\) 次操作,分为两种类型: \(\texttt{add }l\tex 阅读全文
posted @ 2023-11-13 15:23 lzyqwq 阅读(21) 评论(0) 推荐(0)
摘要: 改进了一下 @\(\bf{ \color{black}\text{唐}\color{red} \text{一文}}\) 大佬的做法。 tags: \(\text{strings}\) \(\color{red}*2900\) 洛谷 CF 给出一个字符串 \(s\),求 \(s\) 有多少对相交的回文 阅读全文
posted @ 2023-11-13 11:14 lzyqwq 阅读(23) 评论(0) 推荐(0)