Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

用string.copy就WA,用strcpy,AC。。。

Posted by fireleg at 2009-08-15 16:17:01 on Problem 2334
唯一的几处改动是:
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator