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:WA的兄弟请注意

Posted by phil_cn at 2011-11-24 22:25:56 on Problem 2151
In Reply To:WA的兄弟请注意 Posted by:phil_cn at 2011-11-24 21:42:02
> 1、用scanf/printf函数,float类型,%.3f格式时,精度完全够用
> 2、注意每次初始化DP数组
> 3、注意N==1的特殊情况,p2应为0
> 4、注意M和N不要搞混了,手工测试时,很多测试数据的M和N都是一样的,发现不了错误

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