Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
小技巧从900+MS到500+MS。。不用cin也不用scanf...用这段。。 inline void scan(long int &x) { while(c=getchar(), c<'0'||c>'9'); x=c-'0'; while(c=getchar(), c>='0'&&c<='9') x=x*10+c-'0'; } 快非常多。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator