新的开始,新的挑战
新的一年里,迎来了新的机遇
开学第一考,预习一下考试必备吧!
考试Linux下配置
(set-background-color "darkslategray")
(set-foreground-color "wheat")
(global-linum-mode t)
(setq default-tab-width 4)
(setq default-cursor-type 'bar)
(cua-mode t)
(show-paren-mode t)
(blink-cursor-mode -1)
(global-set-key [f9] 'compile-file)
考试模板代码
1 #include<cstdio> 2 #include<cstdlib> 3 #include<iostream> 4 #define FORa(i,s,e) for(int i=s;i<=e;i++) 5 #define FORs(i,s,e) for(int i=s;i>=e;i++) 6 #define gc pa==pb&&(pb=(pa=buf)+fread(buf,1,10000,stdin),pa=pb)?EOF:*pa++ 7 #define File(name) freopen(name".in","r",stdin),freopen(name".out","w",stdout); 8 9 using namespace std; 10 static char buf[10000],*pa=buf,*pb=buf; 11 inline int read(); 12 13 int main() 14 { 15 return 0; 16 } 17 18 inline int read() 19 { 20 register int x(0);register int f(1);register char c(gc); 21 while(c<'0'||c>'9') f=c=='-'?-1:1; 22 while(c>='0'&&c<='9') x=(x<<1)+(x<<3)+(c^48),c=gc; 23 return x; 24 }