Cod sursa(job #198455)
Utilizator | Data | 11 iulie 2008 17:30:32 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
int a,b;
f>>a>>b;
int c;
c=a+b;
g<<c;
f.close();
g.close();
return 0;
}