Cod sursa(job #1190462)
Utilizator | Data | 25 mai 2014 13:29:31 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | itmarathon | Marime | 0.22 kb |
#include <iostream.h>
#include<fstream.h>
int main()
{
long a, b, s;
ifstream f("adunarein.txt");
f>>a>>b;
f.close();
s=a+b;
ofstream g("adunareout.txt");
g<<s;
return 0;
}