×
摘要: 上午模拟赛 T1:显然有 $$f(x^n) = \Pi (n\times c_i + 1)$$, 其中 \(x = \Pi p_i^{c_i}\),然后做酒枚举每个质数,然后看它对它的倍数的贡献就可以了,时间复杂度 \(O(\sqrt r \log \log r)\)。 点击查看代码 #includ 阅读全文
posted @ 2026-10-09 11:52 shiori123 阅读(1) 评论(0) 推荐(0)
摘要: 上午模拟赛 T1: 简单题,我们发现我们可以找出每个下标最大是多少,然后因为每个集合都必须要有最大值 \(c\) 所以最大值 \(c\) 所提供的方案数就是所有要求最大数是 \(c\) 交集的数且它的最大值可以是 \(c\) 的数量,令其为 \(tot_c\),令最大值大于等于 \(c\) 的为 \ 阅读全文
posted @ 2026-10-08 17:03 shiori123 阅读(4) 评论(0) 推荐(0)
摘要: 上午类模拟赛 T1: 简单模拟。 点击查看代码 #include<bits/stdc++.h> using namespace std; #define N 200005 #define intl long long #define For(i,a,b) for(intl i=a;i<=b;i++) 阅读全文
posted @ 2026-10-07 10:54 shiori123 阅读(3) 评论(0) 推荐(0)
摘要: 上午模拟赛 T1: 简单贪心。 点击查看代码 #include<bits/stdc++.h> using namespace std; #define N 100005 #define intl long long #define For(i,a,b) for(intl i=a;i<=b;i++) 阅读全文
posted @ 2026-10-06 10:22 shiori123 阅读(3) 评论(0) 推荐(0)
摘要: 本随笔只为方便点进合集 阅读全文
posted @ 2026-10-05 19:50 shiori123 阅读(5) 评论(0) 推荐(0)