摘要: CSP-S模拟30 垃圾场 A. 灯若辰星 (light) 打表题。 题意就是求第一类、第二类斯特林数 \(\mod 2\) 意义下的值。 Code: #include<bits/stdc++.h> #define int long long using namespace std; const i 阅读全文
posted @ 2025-10-15 21:13 Wy_x 阅读(11) 评论(0) 推荐(1)
摘要: CSP-S模拟32 ( 2025多校CSP模拟赛5 ) b A. 小 Z 爱计数 (count) 签。按 \(a\) 从小到大排序,注意 \(a[i]-a[i-1] <= b[i]\) 且 \(a[i]-a[i-1] >= |b[i]-b[i-1]|\) 时,若 \(a[i]-a[i-1]\) 与 阅读全文
posted @ 2025-10-15 17:46 Wy_x 阅读(37) 评论(1) 推荐(1)
摘要: CSP-S模拟31 A. 远征 (expedition) 简单题,直接大力 \(O(nV)\) 预处理 对于每个数每个位置 记录这个数下一个会被更改的位置。 查询直接跳即可,复杂度是 \(O(\log V)\) Code: #include<bits/stdc++.h> using namespac 阅读全文
posted @ 2025-10-14 22:12 Wy_x 阅读(14) 评论(1) 推荐(2)
摘要: 10.8-10.9: whk 10.10 专题。 CF1798E Multitest Generator:直接做就行,发现答案至多为 \(2\)。 CF2066C Bitwise Slides:我们维护那两个相同的数,再 dp。 CF431D Random Task:发现答案满足单调性,可以二分+数 阅读全文
posted @ 2025-10-12 07:59 Wy_x 阅读(14) 评论(0) 推荐(1)
摘要: ping 阅读全文
posted @ 2025-09-17 21:38 Wy_x 阅读(37) 评论(2) 推荐(2)
摘要: 说的道理。 阅读全文
posted @ 2025-09-17 21:23 Wy_x 阅读(18) 评论(0) 推荐(1)
摘要: Artical list(部分) 阅读全文
posted @ 2025-09-12 10:56 Wy_x 阅读(39) 评论(0) 推荐(1)
摘要: aaa 阅读全文
posted @ 2025-09-12 10:55 Wy_x 阅读(11) 评论(0) 推荐(1)
摘要: 当个人把 阅读全文
posted @ 2025-09-08 19:54 Wy_x 阅读(39) 评论(2) 推荐(1)
摘要: 密码提示:rt 。 阅读全文
posted @ 2025-09-01 21:16 Wy_x 阅读(4) 评论(3) 推荐(1)
摘要: 拟阵唐 阅读全文
posted @ 2025-08-23 17:13 Wy_x 阅读(48) 评论(6) 推荐(2)
摘要: BFS 优化 DFS | IDA+DFS 阅读全文
posted @ 2025-08-18 12:12 Wy_x 阅读(16) 评论(1) 推荐(1)
摘要: 二期鸡熏 阅读全文
posted @ 2025-08-12 21:08 Wy_x 阅读(50) 评论(5) 推荐(1)
摘要: rt. 7.15 晚上 6:00 到校。预习网络流并打了板子。 7.16 树上启发式合并。 7.17 二项式反演、min-max 容斥。 P4921 [MtOI2018] 情侣?给我烧了! 简单二项式反演练习题。 点击查看代码 #include<bits/stdc++.h> #define int 阅读全文
posted @ 2025-08-03 07:32 Wy_x 阅读(21) 评论(0) 推荐(1)
摘要: 密码提示:sr uid 阅读全文
posted @ 2025-08-02 19:28 Wy_x 阅读(19) 评论(0) 推荐(0)
摘要: 小心卡顿!!! 阅读全文
posted @ 2025-08-02 19:05 Wy_x 阅读(222) 评论(0) 推荐(0)
摘要: 密码提示:密码提示 阅读全文
posted @ 2025-08-02 12:07 Wy_x 阅读(2) 评论(0) 推荐(0)
摘要: 密码提示:sr uid 阅读全文
posted @ 2025-08-02 11:07 Wy_x 阅读(51) 评论(5) 推荐(3)
摘要: 可能会 不 定 时 更新 阅读全文
posted @ 2025-08-02 11:04 Wy_x 阅读(44) 评论(1) 推荐(2)
摘要: 密码为:【密码】 阅读全文
posted @ 2025-07-28 20:59 Wy_x 阅读(104) 评论(9) 推荐(1)