Cod sursa(job #1283464)
Utilizator | Data | 5 decembrie 2014 18:53:48 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.29 kb |
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main()
{
ifstream f;
ofstream g;
f.open("adunare.in.txt");
g.open("adunare.out.txt");
int x,y,s;
f>>x>>y;
s=x+y;
g<<s;
f.close();
g.close();
return 0;
}