Cod sursa(job #124655)
Utilizator | Data | 19 ianuarie 2008 18:28:32 | |
---|---|---|---|
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()
{
int a,b;
fstream q("adunare.in", ios::in);
fstream z("adunare.out", ios::out);
q>>a;
q>>b;
z<<a+b;
q.close();
z.close();
return 0;
}