Cod sursa(job #596759)
Utilizator | Data | 19 iunie 2011 11:32:57 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include<iostream.h>
#include<fstream.h>
using namespace std;
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;
}