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

10000000000 这个太大了, 程序中的整数表示,不能超过2147483647?

Posted by sunmoonstar_love at 2006-07-22 12:45:25
In Reply To:integer constant is too large for "long" type 是什么错误?内详 Posted by:forgotten at 2006-07-22 12:27:35
> const long long int base[11] = {1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, 10000000000};
> 
> 
> 1354616\Main.cc:3: error: integer constant is too large for "long" type

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