zoukankan      html  css  js  c++  java
  • ACM竞赛常用头文件模板-备忘

    备忘。

    #include<iostream>
    #include<cstdio>
    #include<cstring>
    #include<algorithm>
    #include<bitset>
    #include<cassert>
    #include<cctype>
    #include<cmath>
    #include<cstdlib>
    #include<ctime>
    #include<deque>
    #include<iomanip>
    #include<list>
    #include<map>
    #include<queue>
    #include<set>
    #include<stack>
    #include<vector>
    using namespace std;
    typedef long long ll;
    typedef long double ld;
    #define fi first
    #define se second
    #define pb push_back
    #define mp make_pair
    #define pii pair<int,int>
    
    const double PI=acos(-1.0);
    const double eps=1e-6;
    const ll mod=1e9+7;
    const int inf=0x3f3f3f3f;
    const int maxn=1e5+10;
    const int maxm=100+10;
    #define ios ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);

    支持万能头文件的就可以用万能头文件

    #include<bits/stdc++.h>
    using namespace std;
    typedef long long ll;
    typedef long double ld;
    #define fi first
    #define se second
    #define pb push_back
    #define mp make_pair
    #define pii pair<int,int>
    
    const double PI=acos(-1.0);
    const double eps=1e-6;
    const ll mod=1e9+7;
    const int inf=0x3f3f3f3f;
    const int maxn=1e5+10;
    const int maxm=100+10;
    #define ios ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
  • 相关阅读:
    pg常用命令
    dmhs
    Redis集群
    Redis哨兵高可用架构
    Redis外网无法连接的问题
    Redis主从
    Redis持久化
    Redis安装
    Mysql执行计划详解
    Mysql安装配置
  • 原文地址:https://www.cnblogs.com/ZERO-/p/9740197.html
Copyright © 2011-2022 走看看