Pagini recente » Cod sursa (job #2789210) | Cod sursa (job #1612673) | Cod sursa (job #2978672) | Cod sursa (job #2723713) | Cod sursa (job #1840988)
import java.io.*;
import java.util.*;
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) {
}
}
}