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

注意:在G++中用printf("%lld")输出的是wrong answer!!!

Posted by tangliangl at 2007-12-23 14:20:25 on Problem 2299
我就是因为这个问题搞了半天才发现的,改成"%I64d\n"即可,或者干脆用
cout<<,自动重载了longlong的<<操作符,不用关心如何输出。


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