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

ceil函数传float参数导致 WA

Posted by PureWhiteWing at 2019-08-10 18:30:48 on Problem 3104
不清楚是以下那个原因导致了WA,一个是ceil函数我传的是float类型,另一个是返回值我没有强制转为int,这2个改了以后才AC.

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