Cod sursa(job #899087)
Utilizator | Data | 28 februarie 2013 12:50:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,c;
int main()
{f>>a;
f>>b;
c=a+b;
g<<c;
g.close();
return 0;
}