我的模板
来源:互联网 发布:linux基本命令大全 编辑:程序博客网 时间:2024/06/07 07:26
仅仅只是存一下模板.
#include <cstdio>#include <cstdlib>#include <cstring>#include <cmath>#include <ctime>#include <cctype>#include <iostream>#include <algorithm>#include <string>#include <vector>#include <map>#include <set>using namespace std;#define szof(x) ((int)(x).size())#define mset multiset#define setit(T) set<T>::iterator#define msetit(T) mset<T>::iterator#define mapit(T1,T2) map<T1,T2>::iterator#define debug(x) cout<<#x<<" : "<<x<<endl#define Rd(x) {x=0;bool f=false;char c;while (c=getchar(),!isdigit(c)&&c!='-');if (c=='-') f=true,c=getchar();do x=(x<<1)+(x<<3)+(c^48);while (c=getchar(),isdigit(c));if (f) x=-x;}template <class T>void put(T x) { if (x==0) return; put(x/10); putchar(x%10^48);}template <class T>void print(T x) { if (x==0) putchar(48); else { if (x<0) putchar('-'),x=-x; put(x); }}#define brk putchar(' ')#define edl putchar('\n')typedef long long longl;const int inf=1<<28;const long long INF=1LL<<60;template <class T1,class T2>void Max(T1 &x,const T2 &k) { if (x<k) x=k;}template <class T1,class T2>void Min(T1 &x,const T2 &k) { if (x>k) x=k;}
没什么东西,以后再搞吧
2 0
- 我用的“模板”
- 我的博客模板
- 我的模板
- 我的XeTeX模板
- 我的 ISAP 模板
- 我的 MCMF 模板
- 我的项目模板
- 我的框架:模板
- 我的模板
- 我的导出模板
- 我的模板库
- 我的模板库
- 我的html模板
- 我的模板
- 我的makefile模板
- 我的算法模板
- 我的treap模板
- 我的 beamer 幻灯片模板
- 解决tomcat并发数
- 值得推荐的C/C++框架和库
- 指定kibana4的日志
- servlet xml文件配置
- OCX打包cab及数字签名过程
- 我的模板
- jetty性能优化思路整理
- oracle最大连接数修改
- 视图切换(改变视图的样式)
- RecyclerView 单行选择
- ansible2.11-API
- 微信公众号认证全过程
- symbolic link ,tomcat重新部署保存文件,图片。
- 第七周项目5-排队看病模拟