Cod sursa(job #535261)
Utilizator | Data | 16 februarie 2011 22:20:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | teme_upb | Marime | 0.22 kb |
#include<fstream>
#include<iostream.h>
int a,b,S;
fstream f("G:\\INFO\\ARENA\\adunare.in", ios::in);
fstream g("G:\\INFO\\ARENA\\adunare.out", ios::out);
int main()
{f>>a>>b;
S=a+b;
g<<S;
g.close();
f.close();
}