Cod sursa(job #1517135)
Utilizator | Data | 3 noiembrie 2015 21:36:50 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int a,b,c;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
c=a+b;
ofstream g("adunare.out");
g<<c;
g.close();
return 0;
}