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:RE了好多次In Reply To:RE了好多次 Posted by:nkzgm at 2007-09-09 09:29:15 > > 用这个就AC > strcpy(s[k],s2); > > 用这个就RE > for(r=0;r<int(strlen(s2));r++) > s[k][r]=s2[r]; > > 不明白为什么? 第二个中没有把s2的字符串结束标记'\0'复制给s[k] Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator