Cod sursa(job #1341505)
Utilizator | Data | 12 februarie 2015 19:56:52 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | algoritemius | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("adunare.in.txt");
ofstream g("adunare.out.txt");
int main()
{
long a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}