Cod sursa(job #1552010)
Utilizator | Data | 16 decembrie 2015 23:58:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
long a;
long b;
ifstream infile ("adunare.in");
infile >> a >> b;
infile.close();
ofstream outfile;
outfile.open("adunare.out");
outfile << a+b << endl;
outfile.close();
return 0;
}