| ||||||||||
| 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:具体什么问题?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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator