我的模板

仅仅只是存一下模板.

#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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值