Cod sursa(job #274988)
| Utilizator | Data | 10 martie 2009 09:55:38 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.25 kb |
#include<iostream.h>
#include<fstream.h>
long s, a, b;
ifstream f("adunare.in");
ofstream g("adunare.out");
void citire()
{
f>>a>>b;
f.close();
}
main()
{
citire();
g<<a+b;
g.close();
}
