Pagini recente » Cod sursa (job #1459498) | Cod sursa (job #2621962) | Cod sursa (job #3200368) | Cod sursa (job #175357) | Cod sursa (job #1239934)
import java.io.*;
import java.lang.*;
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner in = null;
try {
in = new Scanner(new File("adunare.in"));
} catch (Exception e) {
System.out.println("error");
}
long a = in.nextLong();
long b = in.nextLong();
Formatter out = null;
try {
out = new Formatter(new File("adunare.out"));
} catch (Exception e) {
System.out.println("error");
}
long s = a+b;
out.format("%d", s);
out.close();
//System.out.println(s);
}
}