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:ans = (ans / i) * (i - 1); ans = ans * (i - 1) / i;的区别,就是AC与WA的区别,伤不起啊!

Posted by chenxuan123456789 at 2012-09-22 23:52:30 on Problem 2407
In Reply To:ans = (ans / i) * (i - 1); ans = ans * (i - 1) / i;的区别,就是AC与WA的区别,伤不起啊! Posted by:771385494 at 2012-04-24 10:02:32
会有溢出的情况!

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