Cod sursa(job #324718)
Utilizator | Data | 16 iunie 2009 23:07:46 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
int a;
int b;
f >> a;
f >> b;
g << a + b << endl;
f.close();
g.close();
return 0;
}