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);
  • 相关阅读:
    二级域名绑定子目录
    Promise.all的使用
    react的状态管理
    chrome调试
    组件之间通讯
    promise-async-await
    深入理解AMQP协议转载
    java中堆栈(stack)和堆(heap)
    面试题(Spring)
    IO复用,AIO,BIO,NIO,同步,异步,阻塞和非阻塞 区别参考
  • 原文地址:https://www.cnblogs.com/ZERO-/p/9740197.html
Copyright © 2011-2022 走看看