Cod sursa(job #1996314)
Utilizator | Data | 30 iunie 2017 23:12:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.32 kb |
#include <iostream>
#include "fstream"
using namespace std;
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int main() {
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}