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:求16MS做法

Posted by free2coder at 2012-10-19 09:48:23 on Problem 3980
In Reply To:求16MS做法 Posted by:LoiteringLeo at 2012-02-03 16:50:58
> 我只会
> int i = a / b;
> return a - i * b;
> 
> 我的时间几百MS

你这样,不如直接返回a%b,这样更快

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