Cod sursa(job #313628)
Utilizator | Data | 9 mai 2009 14:47:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
#include <math.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s=0;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}