Cod sursa(job #1179082)
Utilizator | Data | 27 aprilie 2014 22:30:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main () {
ifstream f;
f.open("adunare.in");
int a, b;
f >> a >> b;
f.close();
ofstream g;
g.open("adunare.out");
g << a + b;
g.close();
}