摘要:        
水题。http://community.topcoder.com/stat?c=problem_statement&pm=2923&rd=5854一开始错了是因为理解错题意。还有就是初始化min应该设为Integer.MAX_VALUE,而不是相反。public class TallPeople {	public int[] getPeople(String[] people) { int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; int len1 = people.length; if (len1 == 0)     阅读全文
posted @ 2013-08-16 13:55
阿牧遥
阅读(191)
评论(0)
推荐(0)
        
            
        
        
摘要:        
水题,不值一提。http://community.topcoder.com/stat?c=problem_statement&pm=1585&rd=6535import java.util.*;public class BusinessTasks {	public String getTask(String[] list, int n) { ArrayList al = new ArrayList(); for (int i = 0; i < list.length; i++) { al.add(list[i]); } int len = al.size(); if (l    阅读全文
posted @ 2013-08-16 13:19
阿牧遥
阅读(202)
评论(0)
推荐(0)
        
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号