Cod sursa(job #7729)
Utilizator | Data | 22 ianuarie 2007 09:52:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
long int a,b,s;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
return 0;
}