Cod sursa(job #1341347)
Utilizator | Data | 12 februarie 2015 17:27:14 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | algoritemius | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("suma.in");
ofstream g("suma.out");
int main()
{int a,b,S=0;
ifstream f("suma.in");
ofstream g("suma.out");
f>>a>>b;
S=a+b;
cout<<"Suma este:"<<a+b;
return 0;
}