Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program {
- public static int max=Integer.MAX_VALUE/2;
- public static void main(String[] args)throws Exception{
- /* FileReader fr= new FileReader("tp_lab2.txt");
- //while(c != -1){}
- int c;
- StringBuffer strBuffer = new StringBuffer();
- c = fr.read();
- while (c != 10){
- strBuffer.append((char)c);
- c = fr.read();
- }
- String str = strBuffer.toString();
- System.out.println(str);
- int s = Integer.parseInt(str);
- System.out.println(s);
- Graph graph = new Graph(s);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement