Cod sursa(job #310143)
Utilizator | A Cosmina - vechi miculprogramator | Data | 1 mai 2009 20:58:45 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | for_begginers | 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;
}