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

Re:具体什么问题?

Posted by faen at 2006-05-12 21:44:26 on Problem 1732
In Reply To:具体什么问题? Posted by:frkstyc at 2006-05-12 21:03:26
下边的函数可以说明, 我没有try catch的时候,报告runtime errro。
加上try catch后,ac

public static String stod(String s)
	{
		String re = "";
		try
		{
			for (int i = 0; i < s.length(); i++)
			{
				re += cmap[s.charAt(i) - 'a'];
			}
		}
		catch (Exception e)
		{
		}
		return re;
	}

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