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