Cod sursa(job #657502)
Utilizator | Data | 6 ianuarie 2012 17:51:54 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <iostream.h>
#include <fstream.h>
long long int a,b,s;
main ()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
}