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:那位高手帮看看,不知为什么总是wa Posted by:jsjhoubo at 2007-08-10 22:15:46 加一句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