Cod sursa(job #2060303)
| Utilizator | Data | 8 noiembrie 2017 04:18:17 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | java | Status | done |
| Runda | Arhiva de probleme | Marime | 0.46 kb |
package infoarena;
import java.io.*;
import java.util.*;
public class Main {
public static void Main(String[] argv) throws IOException {
try {
Scanner fin = new Scanner(new FileInputStream("adunare.in"));
PrintStream fout = new PrintStream("adunare.out");
int x, y;
x = fin.nextInt();
y = fin.nextInt();
fout.println(x + y);
fin.close();
fout.close();
} catch (Exception e) {
System.out.println("lool");
}
}
}