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 hnlwt at 2008-07-31 20:48:30 on Problem 1028
In Reply To:Re:我觉的我的方法比大家简单多了,提交却是WA,有那位高手能指点一下吗? Posted by:hnlwt at 2008-07-31 20:47:54
> else if(*b=='F')
> {
>         i++;
>         if(*a[i]!='\0')
>         printf("%s\n",a[i]);
> 	else {printf("Ignored\n");i--;}
> 			}
> } 
> 这样就可以了,要不然数组可能会产生空位。

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