Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:小技巧从900+MS到500+MS。。

Posted by LandQ at 2014-05-04 12:43:55 on Problem 1469
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator