Cod sursa(job #1245356)
Utilizator | Data | 18 octombrie 2014 23:49:36 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | java | Status | done |
Runda | Arhiva de probleme | Marime | 0.49 kb |
import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) {
try{
Scanner sc = new Scanner(new File("adunare.in"));
PrintWriter pw = new PrintWriter(new File("adunare.out"));
long a = sc.nextInt();
long b = sc.nextInt();
long suma = a + b;
pw.print(suma);
sc.close();
pw.close();
}catch(IOException e){ }
}
}