Cod sursa(job #353124)
Utilizator | Data | 4 octombrie 2009 11:28:48 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
void main()
{
long s,a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
f.close();
g.close();
}