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 |
终于过了!!总结一下超时的地方希望有所帮助。(1) 把英文转换成数时不用for而是多个if。 (2) 把排序放在比较的前面,因为快排在大数处理时较快。此顺序把比较由二维变为一维。 (3) 如果用转化成int类型的方法做的转化时尽量不用pow(),输出采用多次if。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator