Cod sursa(job #120418)
| Utilizator | Data | 5 ianuarie 2008 14:03:33 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{
fstream f("adunare.in",ios::in);
int n=0, g;
f>>g;
n+=g;
f>>g;
n+=g;
f.close();
fstream h("adunare.out",ios::out);
h<<n;
return 0;
}
