随笔分类 -  优化

摘要:char buf[1<<15],*fs,*ft; inline char getc(){return (fs==ft&&(ft=(fs=buf)+fread(buf,1,1<<15,stdin),fs==ft))?0:*fs++;} inline int read(){ int x=0,f=1; char ch=getc(); while(!isdigit(ch)) {if(... 阅读全文
posted @ 2017-05-05 15:11 Strork 阅读(542) 评论(0) 推荐(0)
摘要:诸如此类来代替using namespace std;避免关键字冲突 阅读全文
posted @ 2017-03-06 13:07 Strork 阅读(125) 评论(0) 推荐(0)