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:不解啊,求大牛

Posted by lyq00 at 2011-06-23 16:55:28 on Problem 1007
In Reply To:Re:不解啊,求大牛 Posted by:2009302513 at 2011-06-23 16:23:41
for(i=0;i<n;i++)
	{
		gets(a[i].str);
		a[i].count=0;
	}
	printf("\n");
	for(i=0;i<n;i++)
	{


去掉 printf("\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