Cod sursa(job #308091)
| Utilizator | Data | 25 aprilie 2009 22:54:21 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.16 kb |
#include <fstream.h>
int main()
{
long long a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}
