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

%lld到底什么时候用啊???

Posted by 0406340341 at 2007-11-26 13:00:33 on Problem 3468
In Reply To:%lld是什么东西,把它换了%I64d就AC~~hehe Posted by:0406340341 at 2007-11-26 12:52:54
Additional notes for GCC/G++:

For 64-bit integers, both long long int and __int64 is supported and they are equivalent. But only "%I64d" is supported when reading with scanf or writing with printf. "%lld" is not supported because GCC and G++ from MinGW use msvcrt.dll which does not support the C99 standard.

(G++ only) As required by the ISO C++ standard, the return type of the main function must be int, otherwise it will cause Compile Error.


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