Cod sursa(job #596758)
Utilizator | Data | 19 iunie 2011 11:28:30 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<iostream.h>
#include<fstream.h>
int main()
{long A,B;
ifstream F("adunare.in");
F>>A;
F>>B;
ofstream G("adunare.out");
G<<A+B;
F.close();
G.close();
return 0;
}