Cod sursa(job #2124865)
Utilizator | Data | 7 februarie 2018 17:55:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.34 kb |
#include <iostream>
#include <fstream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
using namespace std;
int main(int argc, char** argv) {
int n, m;
ifstream fin ("adunare.in");
ofstream fout ("adunare.out");
fin>>n>>m;
fout<<m+n;
fin.close();
fout.close();
return 0;
}