
暴力
米兰的小耳朵
Don't settle. Keep moving.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Codeforces Gym 100531D Digits (暴力、打表)
题目链接 1.暴力打表。。。 上来队友开始推规律n 1 1= 1 2 11= 1 + 10 3 33= 2 + 11 + 20 4 66= 3 + 12 + 21 + 30 5 110= 4 + 13 + 22 + 31 + 40 6 165=原创 2017-08-15 20:43:08 · 370 阅读 · 0 评论 -
Little Difference Gym - 101612L 分解类型的题
看了红博大佬的博客。。。 做这个题还是我太慌张。。。 上来想也不想就整了个质因数分解的板子。 赛后才知道就是暴力。。。当然是有技巧的暴力 #include #include #include #include #include #include #define inf 0x3f3f3f3f #define ms(x) memset(x, 0, sizeof(x))原创 2017-11-20 17:22:53 · 503 阅读 · 0 评论 -
SDUT1114Single Contest codeforces883 I+M 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest
冗余之事何故在意? 专心啃干货多充实。 I 题, 比赛来的晚, 剩下半小时左右看这题。 分割成回文串。是个瞎暴力, 想了想思路有点毛病, 没下手。原创 2017-11-16 17:06:12 · 318 阅读 · 0 评论 -
2018ICPC北京网络赛 #1829 : Tomb Raider 二进制枚举
本来想到的最暴力的做法是dfs生成第一个串的所有字串, 看是否在成环的其它串上出现过。 但是,被string 搞挂了。。。所以赛后换了枚举状态做。。。 #include <bits/stdc++.h> using namespace std; #define inf 0x3f3f3f3f #define ll long long const int N = 100; string...原创 2018-09-26 10:45:46 · 298 阅读 · 0 评论