Cod sursa(job #838399)
Utilizator | Data | 19 decembrie 2012 16:19:55 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int a,b;
ifstream f;
ofstream g;
int main()
{
f.open("adunare.in");
f >> a >> b;
g.open("adunare.out");
g << a+b << endl;
f.close();
g.close();
return 0;
}