Cod sursa(job #187750)
Utilizator | Data | 5 mai 2008 12:37:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
void main()
{unsigned long n,m,r;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>n;
f>>m;
r=n+m;
g<<r;
f.close();
g.close();
}