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:HAWK请进

Posted by flyingstar at 2005-11-19 17:07:38 on Problem 1200
In Reply To:HAWK请进 Posted by:waterine at 2005-05-09 02:50:28
"%lld"和"%llu"是linux下gcc/g++用于long long int类型(64 bits)输入输出的格式符。而"%I64d"和"%I64u"则是Microsoft VC++库里用于输入输出__int64类型的格式说明。即VC6和GCC对64位整数的扩展有差异,VC使用__int64,GCC使用long long.
而oj上用的是gcc、g++,数据用long long int类型,
输入输出数据用 scanf("%lld“,&data)和printf("%lld“,data).

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