Cod sursa(job #1537138)
Utilizator | Bigfoot din padure megabytes112 | Data | 26 noiembrie 2015 22:52:13 |
---|---|---|---|
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);
}
}