Cod sursa(job #1840989)
Utilizator | Data | 5 ianuarie 2017 00:57:21 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | java | Status | done |
Runda | Arhiva de probleme | Marime | 0.42 kb |
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) {
}
}
}