标签:
1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #include<algorithm> 5 #include<stack> 6 #include<queue> 7 #include<cstring> 8 #define PAU putchar(‘ ‘) 9 #define ENT putchar(‘\n‘) 10 using namespace std; 11 inline int read(){ 12 int x=0,sig=1;char ch=getchar(); 13 for(;!isdigit(ch);ch=getchar())if(ch==‘-‘)sig=0; 14 for(;isdigit(ch);ch=getchar())x=10*x+ch-‘0‘; 15 return sig?x:-x; 16 } 17 inline void write(int x){ 18 if(x==0){putchar(‘0‘);return;}if(x<0)putchar(‘-‘),x=-x; 19 int len=0,buf[15];while(x)buf[len++]=x%10,x/=10; 20 for(int i=len-1;i>=0;i--)putchar(buf[i]+‘0‘);return; 21 } 22 int main(){ 23 return; 24 }
标签:
原文地址:http://www.cnblogs.com/chxer/p/4720674.html