Cod sursa(job #921877)
Utilizator | Data | 21 martie 2013 19:57:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream.h>
#include <iostream.h>
int main() {
long a,b,s=0;
ifstream f("adunare.in");
f>>a>>b;
s=a+b;
ofstream g("adunare.out");
g<<s;
f.close();
g.close();
return 0;
}