Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:我觉的我的方法比大家简单多了,提交却是WA,有那位高手能指点一下吗?In Reply To:Re:我觉的我的方法比大家简单多了,提交却是WA,有那位高手能指点一下吗? Posted by:hnlwt at 2008-07-31 20:43:07 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator