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:大虾指教!

Posted by ACEDHU at 2004-08-27 22:53:35 on Problem 1809
In Reply To:大虾指教! Posted by:erwen at 2004-08-27 13:35:33
> 1089我用VC _int64 过了,然后换到gcc, long long 却过不了!
> 如果所有变量都用long long 型,报超时;
> 只有结果用long long, WA (我也加了强制类型转换。)
> 后来我把long long 换成double, gcc 才过掉,请用gcc 过的大虾指教一二,不胜感激!
>  
gcc在long long 输出时如果用printf可能存在一定问题,我在uva上遇到过,改成cout就过了

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