Cod sursa(job #634942)
Utilizator | Data | 17 noiembrie 2011 23:04:23 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream.h>
#include<fstream.h>
fstream f("g:\adunare.in",ios::in);
fstream g("g:\adunare.out",ios::out);
void main()
{int s=0,a,b;
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();}