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 |
用string.copy就WA,用strcpy,AC。。。唯一的几处改动是: WA: string inputstring; AC: char inputstring[300]; WA: .. inputstring.length() .. AC: .. strlen(inputstring) .. WA: inputstring.copy(prevchar, inputstring.length()); AC: strcpy(inputstring, prevchar); 我是菜鸟,拜托谁告诉我一下为什么。。。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator