acm
VoidK2
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
GCD and LCM
最小公倍数,最大公约数模板int gcd(int a,int b) { if(a%b==0) return b; else return gcd(b,a%b); } int lcm(int a,int b) { return (a*b)/gcd(a,b); }原创 2017-08-04 10:25:56 · 473 阅读 · 1 评论 -
2018蓝桥杯省赛准备
ACM代码整合ACM代码整合!!!特别提醒1、最小公倍数gcd2、最大公约数lcm3、Fibonacci数列4、memset初始化5、fill初始化6、ctype.h头文件7、素数系列8、BFS系列9、DFS系列10、动态规划(01背包,完全背包)11、并查集12、树状数组13、快速幂 and 矩阵快速幂14、最短路15、string16、二分搜索17...原创 2018-03-26 21:12:20 · 3439 阅读 · 4 评论 -
配置vscode 编译运行调试c/c++
配置vscode 编译 运行 调试 C/C++Visual Studio CodeAstyle 规范代码格式少数英语不影响阅读,转自自己的博客需要根据自己机器不同,修改四五行json文件名(主要为路径)Visual Studio CodeFrist step:download vscode and basic modules download - Astyle - ...原创 2018-05-14 21:39:05 · 1699 阅读 · 0 评论
分享