Cod sursa(job #405242)
Utilizator | Data | 27 februarie 2010 19:43:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
}