Cod sursa(job #682201)
Utilizator | Data | 18 februarie 2012 18:29:13 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{unsigned A,B,S;
f>>A;
f>>B;
S=A+B;
g<<S;
f.close();
g.close();
return 0;
}