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

这题的输入有点搞

Posted by trytrykan at 2011-02-15 11:17:53 on Problem 1268 and last updated at 2011-04-07 10:52:24
其它部分一样。

输入部分这么处理就wrong
char str[3][5];
scanf("%s%s%s",str[0],str[1],str[2]);

这样的处理就能够Accept
double r,xd,yd;
scanf("%lf%lf%lf",&r,&xd,&yd);

估计不是所有的输入都是“0.xx”,有“.xx”的格式。

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