| ||||||||||
| 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用文件输入
1
99 1(不要加回车)
像这样,如果scanf("%c",&c)读不到数据,就会RE
因此要处理if(scanf("%c",&c)==EOF) .........
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator