Cod sursa(job #505764)
| Utilizator | Data | 3 decembrie 2010 21:18:49 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<iostream.h>
void main()
{ int A;
int B;
ifstream f("adunare.in")
ofstream g("adunare.out");
f>>A;
f>>b;
g<<A+B<<endl;
f.close();
g.close();
}