Cod sursa(job #1555435)
Utilizator | Data | 22 decembrie 2015 19:39:38 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long a,b,x;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
x=a+b;
g<<x;
g.close();
f.close();
return 0;
}