All pastes #503228 Raw Edit

Mine

public text v1 · immutable
·published 2007-05-22 19:56 UTC
rendered paste body
import java.io.*;
import java.util.*;


public class Branje {
	public static void main (String[] args) {
		File datoteka = new File("input");
		
		try {
			FileReader fr = new FileReader(datoteka);
			BufferedReader br = new BufferedReader(fr);
			String vrstica = br.readLine();
			
			//StringTokenizer st = new StringTokenizer(vrstica, " ");
			
			//System.out.println(st.nextToken());
			
			int stevilka = Integer.parseInt(vrstica);
			System.out.println(stevilka);
			
//			while(vrstica != null) {
//			System.out.println(vrstica);
//			vrstica = br.readLine();
//			}
			
			
		} catch (FileNotFoundException e) {
			System.out.println("omg da hez bin ajn error - da ist kein file");
		} catch (Exception e) {
			System.out.println("omg uat are ju doin?");
		}
	}
}