| ||||||||||
| 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 | |||||||||
input data里究竟都有什么啊-_-读取第二行的时候,用
scanf("%s", word);
if(getchar() == '\n') break;
这样做总是Runtime Error,后来忽略了行尾空格,还是不行,最后换成用gets()读取第二行,之后判断,才AC的
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator