| ||||||||||
| 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 %s", str1, str2))错了In Reply To:scanf中间不要有空格 Posted by:liuweni at 2007-11-19 17:21:50 应该是while (scanf("%s %s", str1, str2) != EOF)
> scanf("%s%s",str1,str2);
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator