| ||||||||||
| 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:求测试数据In Reply To:Re:求测试数据 Posted by:ailing at 2012-04-26 17:29:50 不好意思。。白天打游戏去了。。
刚看了一下,你的程序在英语只有1个字符的情况下会出问题。
因为你先读了一个字符,然后再scanf("%s%s",s1+1,s2);
但是如果s1原本只有一个字符的话,就会有问题。。。
我只是粗略的看了一下,不知道题目里面有没有保证长度大于1.
马上熄灯了,明天再给你完全的答复吧。。。
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator