Cod sursa(job #559737)
Utilizator | Data | 18 martie 2011 00:38:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{int a,b;
ifstream f("adunare.in",ios::in);
ofstream g("adunare.out",ios::out);
f>>a>>b;
a=a+b;
g<<a;
f.close();
g.close();
}