Cod sursa(job #1537140)
| Utilizator | Data | 26 noiembrie 2015 22:52:51 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | java | Status | done |
| Runda | Arhiva de probleme | Marime | 0.45 kb |
import java.io.*;
import java.util.*;
public class Main {
/*
* @throws java.io.IOException
*/
public static void Main() throws IOException {
Scanner fin = new Scanner(new FileInputStream("F:\\Temp\\adunare.in"));
PrintStream fout = new PrintStream("F:\\Temp\\adunare.out");
int x, y;
x = fin.nextInt();
y = fin.nextInt();
fout.println(x+y);
}
}
