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:终于AC了,没有过的注意了,我把经验总结一下

Posted by afafafa at 2009-12-28 11:05:30 on Problem 1001
In Reply To:终于AC了,没有过的注意了,我把经验总结一下 Posted by:Alex_Lau at 2007-11-04 12:34:57
> 这里题干是绝对没有问题,只要按照他的输入输出方式来就行了,根本不用考虑大于六位小数的情况,我原本也是考虑到了所有BT的数据,结果还是没有过,后来恍然大悟——大家去看一下题干后面的“hint”里面说用while(cin>>s>>n)这就是说你的程序不能每次只执行一组数据就返回结束了,而是可以反复执行多组数据,改过来之后就AC了,呵呵,希望对没有AC的同学有帮助


感谢楼主啊,wa了7,8次了,按楼主说的那样改了就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