Cod sursa(job #1537131)
| Utilizator | Data | 26 noiembrie 2015 22:48:54 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | java | Status | done |
| Runda | Arhiva de probleme | Marime | 0.58 kb |
package adunare;
import java.io.*;
import java.util.*;
/**
*
* @author Gabriel
*/
public class Main {
/**
* @param args the command line arguments
* @throws java.io.FileNotFoundException
*/
public static void main(String[] args) throws FileNotFoundException {
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);
}
}
