我的第一份vim程序

vim太好用了吧!!!根本停不下来啊!

devc++再见!

 1 /*=============================================================================
 2 * 
 3 *  Author: Crt_16
 4 * 
 5 *  Last modified: 2015-08-25 18:52
 6 * 
 7 *  Category:
 8 * 
 9 /*=============================================================================*/
10 
11 #include<iostream>
12 #include<cstdio>
13 #include<cmath>
14 #include<algorithm>
15 #include<stack>
16 #include<queue>
17 #include<cstring>
18 #define pau putchar(' ')
19 #define ent puts("");
20 #define mse(a,b) memset(a,b,sizeof(a))
21 #define ren(x) for(ted*e=fch[x];e;e=e->nxt)
22 #define rep(i,s,t) for(int i=s,__=t;i<=__;i++)
23 #define dwn(i,s,t) for(int i=s,__=t;i>=__;i--)
24 using namespace std;
25 inline int read(){
26     int x=0;bool sig=true;char ch=getchar();
27     for(;!isdigit(ch);ch=getchar())if(ch=='-')sig=false;
28     for(;isdigit(ch);ch=getchar())x=10*x+ch-'0';return sig?x:-x;
29 }
30 inline void write(int x){
31     if(x==0){putchar('0');return;}if(x<0)putchar('-'),x=-x;
32     int len=0;static int buf[20];while(x)buf[len++]=x%10,x/=10;
33     for(int i=len-1;i>=0;i--)putchar(buf[i]+'0');return;
34 }
35 int main(){
36     return 0;
37 }
原文地址:https://www.cnblogs.com/chxer/p/4757184.html