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