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