Cod sursa(job #1245369)
Utilizator | Data | 19 octombrie 2014 00:09:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | java | Status | done |
Runda | Arhiva de probleme | Marime | 0.48 kb |
import java.io.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException{
Scanner sc = new Scanner(new File("adunare.in"));
int a = sc.nextInt();
int b = sc.nextInt();
int suma = a + b;
sc.close();
PrintWriter pw = new PrintWriter(new File("adunare.out"));
pw.print(suma);
pw.close();
}
}