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

就是在那double和long long搞来搞去

Posted by go4fun at 2009-04-17 01:03:59 on Problem 1942
杨辉三角。不过n和m太大,C里用long long,除的时候(5/4)*(4/1)等于8,所以要先变成double。反正又是这种超大的数类型转换来转换去,要选对类型。

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