| ||||||||||
| 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:自己写的这个Compare()感觉还不错~~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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator