zoukankan      html  css  js  c++  java
  • include define【11/12/15】

     1 #pragma comment(linker, "/STACK:16777216") //防爆栈
     2 #include<iostream>
     3 #include<algorithm>
     4 #include<cstdio>
     5 #include<cstring>
     6 #include<cstdlib>
     7 #include<cmath>
     8 #include<string>
     9 #include<vector>
    10 #include<set>
    11 #include<queue>
    12 #include<map>
    13 #include<stack>
    14 #include<iterator>
    15 using namespace std;
    16 #define clr(c) memset(c, 0, sizeof(c));
    17 #define pi acos(-1.0)
    18 #define debug(x) cout<<"debug "<<x<<endl;
    19 #define LLD "%I64d"
    20 int dirx[8] = {0, 1, 0, -1, 1, 1, -1, -1};
    21 int diry[8] = {1, 0, -1, 0, 1, -1, -1, 1}; // 移动方向
    22 const int INF = 0x3f3f3f3f;
    23 const int mod = 1e9+7; // 模一个很大的素数, 素数的性质使模后得到相同数字的概率会低
    24 const int _mod = 1e9+9; // int最多到2*10^9 long long最多到10^18 这样模后的运算也不会溢出
    25 const double eps = 1e-8; // 浮点数精度
    26 typedef long long ll;
    27 typedef unsigned long long ull;
    28 typedef struct point{
    29     int x, y;
    30     bool operator < (const point& p) const{
    31         if(x == p.x) return y < p.y;
    32         else return x < p.x;
    33     }
    34     bool operator > (const point& p) const{
    35         return p < *this;
    36     }
    37 }p;
    38 
    39 int main(){
    40 
    41     return 0;
    42 }
  • 相关阅读:
    C语言II博客作业04
    C语言II博客作业03
    C语言II博客作业02
    C语言II博客作业01
    C语言学期总结
    计科二班李英本周第一次作业
    C语言I博客作业09
    C语言I博客作业08
    C语言I博客作业07
    C语言I博客作业06
  • 原文地址:https://www.cnblogs.com/miaowTracy/p/4959191.html
Copyright © 2011-2022 走看看