Cod sursa(job #855536)
Utilizator | Data | 15 ianuarie 2013 08:49:35 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b;
ifstream f("adunare.in");
f>>a>>b;
ofstream g("adunare.out");
g<<a+b<<"\n";
f.close();
g.close();
return 0;
}