zoukankan      html  css  js  c++  java
  • #define

     1 #include<stdio.h>
     2 #include<string.h>
     3 #include<math.h>
     4 #include<stdlib.h>
     5 #define two(x)            ((LL)1<<(x))
     6 #define include(a,b)        (((a)&(b))==(b))
     7 #define MID ((l+r)>>1)
     8 #define MAX(a,b) (a>b?a:b)
     9 #define MIN(a,b) (a>b?b:a)
    10 #define FOR(i,a,b) for(i=a;i<=b;i++)
    11 #define FF(i,a) for(i=0;i<a;i++)
    12 #define FD(i,a,b) for(i=a;i>=b;i--)
    13 #define PD(x) printf("%d",(x))
    14 #define PP printf(" ")
    15 #define SD(x) scanf("%d", &(x))
    16 #define SF(x) scanf("%lf", &(x))
    17 #define SET(x) memset(x,0,sizeof(x))
    18 #define LN printf("\n");
    19 #define SWAP(a,b) a=a xor b;b= a xor b;a=a xor b;
    20 #define EPS 1e-8
    21 #define PI acos(-1.0)
    22 #define LL __int64
    23 #define read freopen("in.txt","r",stdin)
    24 #define write freopen("out.txt","w",stdout)
  • 相关阅读:
    中断向量表
    内核进程的堆栈 [转]
    int指令理解
    Linux进程创建和结束
    Linux 信号signal处理机制
    wait和waitpid详解
    linux 如何清理僵尸进程
    API:System V & POSI
    shell
    Code POJ
  • 原文地址:https://www.cnblogs.com/pony1993/p/2429622.html
Copyright © 2011-2022 走看看