Pagini recente » Cod sursa (job #2499062) | Cod sursa (job #2496916) | Cod sursa (job #2755529) | Cod sursa (job #2496838) | Cod sursa (job #1840989)
import java.io.*;
import java.util.*;
class Main {
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) {
}
}
}