Cod sursa(job #2510991)
| Utilizator | Data | 17 decembrie 2019 20:49:55 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
int main()
{
fin.open ("adunare.in.txt");
int a,b;
fin>> a >> b;
fout<<a+b;
cout << a+b<< endl;
cout<< a;
cout<< b;
return 0;
}
