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 |
Re:小技巧从900+MS到500+MS。。In Reply To:小技巧从900+MS到500+MS。。 Posted by:fjxmyzwd at 2010-12-05 13:44:53 > 不用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