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

Additional notes for GCC/G++:

Posted by i_love_c at 2008-01-27 18:19:29 on Problem 2924
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