Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:HAWK请进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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator