Pagini recente » Cod sursa (job #1849008) | Cod sursa (job #2691211) | Cod sursa (job #2448795) | Cod sursa (job #2448728) | Cod sursa (job #1840987)
import java.io.*;
import java.util.*;
public class Sum {
public static void main(String[] args) {
try {
Scanner sc = new Scanner(new File("adunare.in"));
try {
PrintWriter writer = new PrintWriter("adunare.out", "UTF-8");
writer.println(sc.nextInt() + sc.nextInt());
writer.close();
} catch (FileNotFoundException e) {
}
sc.close();
} catch (IOException e) {
}
}
}