Cod sursa(job #1437168)
Utilizator | Data | 17 mai 2015 01:06:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.34 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 argc, char** argv) {
fstream f("adunare.in");
ofstream g("adunare.out");
long long int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}