Cod sursa(job #802355)
Utilizator | Data | 26 octombrie 2012 15:32:26 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream>
#include<fstream>
ofstream f("adunare.out");
ifstream g("adunare.in");
int main()
{
int suma,a,b;
g>>a>>b;
g.close();
f<<a+b;
f.close();
}