Cod sursa(job #1958041)
Utilizator | Data | 7 aprilie 2017 22:51:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main()
{
int numar;
int b;
int c;
fin >> b;
fin >> numar;
c = b + numar;
fout << c << endl;
return -1;
}