Cod sursa(job #1731098)
Utilizator | Data | 18 iulie 2016 12:29:56 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <fstream>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main(int argc, char** argv) {
ifstream in("adunare.in");
ofstream out("adunare.out");
int a,b,c;
in>>a; in>>b;
c=a+b;
out<<<c;
return 0;
}