10 2021 档案
洛谷 P2246 SAC#1 - Hello World(升级版)
摘要:题目链接: https://www.luogu.com.cn/problem/P2246 题目大意: 在一篇文章(包含英文字母(大小写均有)、数字、和空白字符(制表/空格/回车))中寻找“helloworld”(任意一个字母的大小写都行)的子序列出现了多少次,输出结果对1000000007(10^9
阅读全文
欧拉筛
摘要:luogu:https://www.luogu.com.cn/problem/P3383 acwing:https://www.acwing.com/problem/content/870/ #include <bits/stdc++.h> using namespace std; const in
阅读全文