Cod sursa(job #165269)
Utilizator | Data | 25 martie 2008 19:45:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
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");
int main()
{int a,b;
f>>a>>b;
f.close();
g<<a+b;
g.close();
return(0);
}