| ||||||||||
| 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 | |||||||||
郁闷了,竟然是因为多了一个空格!!在输入的时候用的下面的方法,结果就是错的,因为多了一个空行!
while(scanf("%s", word[len++]) != EOF)
改成下面的方法是AC了
while(scanf("%s", word[len]) != EOF)
++len;
看来不能太懒,最后在UE十六进制模式下查看才发现问题!
---(
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator