Difference between revisions of "Be the Machine - if"

From Progzoo
Jump to: navigation, search
Line 12: Line 12:
 
     while ((line=fh.readLine())!=null){
 
     while ((line=fh.readLine())!=null){
 
       String [] wrds = line.split("\t");
 
       String [] wrds = line.split("\t");
       oneLine(wrds[0], wrds[1],Integer.parseInt(wrds[2])/1000000,
+
       oneLine(wrds[0], wrds[1],Integer.parseInt(wrds[2])/100000,
         Long.parseLong(wrds[3])/1000000,Long.parseLong(wrds[4]));
+
         Long.parseLong(wrds[3])/100000,Long.parseLong(wrds[4]));
 
     }
 
     }
 
   }
 
   }

Revision as of 16:42, 1 October 2009

name region area pop
Chad Africa 1280 91
Cuba Americas 110 113
Fiji Asia-Pacific 18 8
Iran Middle East 1650 707
Iraq Middle East 438 265
Laos Asia-Pacific 236 59
Mali Africa 1250 138
Oman Middle East 309 30
Peru South America 1280 280
Togo Africa 56 51

Problem 1


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 2


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 3


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 4


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 5


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 6


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 7


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 8


[Font] [Default] [Show] [Resize] [History] [Profile]