- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
public static int getLengtg() throws NumberFormatException, IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int dlina;
try{
dlina = Integer.parseInt(reader.readLine());
}
catch(IOException e)
{
dlina = Integer.parseInt(reader.readLine());
}
return dlina;
}
Steve_Brown 19.02.2016 11:32 # −92
gost 19.02.2016 13:10 # −88
Her 19.02.2016 15:29 # −93