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 pojwyj at 2012-02-20 22:20:28 on Problem 1001
In Reply To:求教高手为什么我的代码样例都过了,但一提交就WA…… Posted by:pojwyj at 2012-02-19 17:57:57
自己搞清楚了……while(c[1]==0)条件不够强大,导致整数后面的0也被删,100.00 2 过不了……改为while(c[1]==0&&小数位数!=0) 就顺利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