适合C++のOIer平日写题的开场模板

上面的#define还是较充足的,快读模板也有,freopen也提前打好了,比较适合OIer(C++)平时刷题和考试的开场。

(纯原版仅供SJZEZのORZ队&AFO队使用)

(您老把开头的注释改了就好)


 

 1 //Stand up for the faith!
 2 #include<bits/stdc++.h>
 3 #define INF 0x3f3f3f3f
 4 #define LL long long 
 5 #define FRO freopen
 6 #define FCO fclose 
 7 #define US unsigned
 8 #define CN const
 9 #define MAXN 20001
10 
11 using namespace std;
12 
13 inline int read()
14 {
15     int s=0,w=1;
16     char ch=getchar();
17     while(ch<'0'||ch>'9')
18     {
19         if(ch=='-')w=-1;
20         ch=getchar();
21     }
22     while(ch>='0'&&ch<='9')
23     {
24         s=s*10+ch-'0';
25         ch=getchar();   
26         }
27     return s*w;
28 }
29 
30 int main(void)
31 {
32 //  FRO("****.in","r",stdin);
33 //  FRO("****.out","w",stdout);
34 
35     return 0;
36     FCO(stdin);FCO(stdout);
37 }

 

posted @ 2019-03-22 21:21  KGB1331  阅读(152)  评论(0编辑  收藏  举报