Cod sursa(job #484864)
Utilizator | Data | 16 septembrie 2010 09:29:25 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
void main()
{ int a,b;
f>>a;
f>>b;
g<<a+b<<endl;
f.close();
g.close(); }