Cod sursa(job #1853499)
| Utilizator | Data | 21 ianuarie 2017 20:32:12 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | java | Status | done |
| Runda | Arhiva de probleme | Marime | 0.4 kb |
import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader bf = new BufferedReader(new FileReader("adunare.in"));
PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("adunare.out")));
long a = Long.parseLong(bf.readLine());
long b = Long.parseLong(bf.readLine());
bf.close();
pw.println(a+b);
pw.close();
}
}
