Cod sursa(job #535247)
Utilizator | Data | 16 februarie 2011 21:59:04 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream.h>
#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);
void main()
{f>>a>>b;
S=a+b;
g<<S;
g.close();
f.close();
}