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:简单方法查看long long类型的最大值,发现可以存下

Posted by law52525 at 2016-08-17 11:02:00 on Problem 2545
In Reply To:这题怎么做啊,数据好大 Posted by:fjnu_jxd_010 at 2005-08-14 17:11:25
 c++可以通过
 cout<<LONG_LONG_MAX<<endl;
 输出long long类型的最大值:
 9223372036854775807
 1000000000000000000
 和10^18对比一下可以发现long long可以存下

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