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

答案这一个数,printf TLE / WA,换成cout就过了,这是什么状况。。。

Posted by sidepi at 2012-07-16 15:07:46 on Problem 2822 and last updated at 2012-07-16 15:11:57
printf("%.4f\n",ans); ----------------- C++ TLE G++ WA
cout<<setprecision(4)<<fixed<<ans<<endl; -----------------C++ AC G++ AC

输出类型是double

这是什么奇葩状况。。让我碰上了。。
从7月7号到16号,闲的没事就往上交。。。交了一版。。。结果让我碰上这状况。。。

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