Cod sursa(job #2252369)
Utilizator | Data | 2 octombrie 2018 18:45:29 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | marpmi_2018 | Marime | 0.31 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a , b ;
ifstream ifile ;
ifile.open("adunare.in") ;
ifile >> a;
ifile >> b ;
ofstream ofile ;
ofile.open("adunare.out") ;
ofile << a+b ;
ofile.close() ;
ifile.close() ;
return 0;
}