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:真的很郁闷!!!这两个程序有差别吗? Posted by:xtu716 at 2007-08-08 19:59:21 aas dasad 那个WA的程序是Yes! while(s[j]!=t[i]&&t[i]!='\0')i++; s[2]没找到匹配的,但是t已经到头了,但是你继续了, 做完这步之后,上去到s[3]=='\0',你就跳出来Yes! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator