| ||||||||||
| 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:那位高手帮看看,不知为什么总是waIn Reply To:Re:那位高手帮看看,不知为什么总是wa Posted by:20053565 at 2007-08-10 23:43:23 > 加一句str[i] = '\0';
> 在
> while(ch!='\n')
> {
> str[i++]=ch;
> ch=getchar();
> }
> 就OK了
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator