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 gfedcba at 2011-02-13 13:55:18 on Problem 3979
In Reply To:所有的数据都对,为何WA???? Posted by:sun152121 at 2011-02-13 11:18:49
if(!fs.fz)
		{
			cout<<fs.fz/fs.fm<<endl;
		}


这一句显然不正确,分子为0的时候,应该只是输出0而已

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