Cod sursa(job #1328010)
Utilizator | Data | 27 ianuarie 2015 20:11:04 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
ifstream f("suma.in");
ofstream g("suma.out");
int a,b,s;
int main ()
{
f>>a;
f>>b;
s=a+b;
g<<s;
g.close();
return 0;
}