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

我的一点想法

Posted by digiter at 2008-10-16 21:49:19 on Problem 3157 and last updated at 2008-10-17 19:40:45
我写了两个函数:
bool to_cpp(char *identifier, char *ans);
bool to_java(char *identifier, char *ans);

先按照实参是正确的假设来编写函数体,

然后再考虑因为实参不正确导致的程序逻辑异常,在这样的地方返回“转换失败”

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