Cod sursa(job #544908)
| Utilizator | Data | 2 martie 2011 13:18:27 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream>
using namespace std;
int main ()
{
ifstream f ("adunare.in");
ofstream g ("adunare.out");
int A,B;
f>>A;
f>>B;
g<<A+B<<'\n';
f.close()
g.close()
return 0;
}
