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:自己写的这个Compare()感觉还不错~~

Posted by July75 at 2010-12-09 22:18:15 on Problem 1256
In Reply To:自己写的这个Compare()感觉还不错~~ Posted by:loveKid at 2009-03-18 22:59:48
> bool Compare(char t1,char t2){
> 	double t01,t02;
> if(t1>='A'&&t1<='Z')t01=t1+31.5;else t01=t1;
> if(t2>='A'&&t2<='Z')t02=t2+31.5;else t02=t2;
> if(t01>t02)return true;else return false;
> };
Orz~~~~

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