小男娘
小男娘
全部文章
分类
题解(7)
归档
标签
去牛客网
登录
/
注册
小男娘的博客
全部文章
(共72篇)
题解 | 收集纸片
暴力枚举每种方案,复杂度 #include <algorithm> #include <climits> #include <cstdlib> #include <iostream> #include <utility> #include ...
2025-11-17
0
46
题解 | 小红的扫雷游戏
枚举每一种解,检查是否符合条件即可。解最多只有 216=65536 种,检查也只需要检查 16 个格子每个周围至多 9 个格子,效率完全可以接受。 #include <bitset> #include <iostream> #include <array> usi...
2025-11-16
0
46
首页
上一页
1
2
3
4
5
6
7
8
下一页
末页