Cod sursa(job #313891)
Utilizator | Data | 10 mai 2009 01:13:54 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.13 kb |
#include<fstream.h>
void main()
{long a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g<<s;
}