Cod sursa(job #660155)
Utilizator | Data | 11 ianuarie 2012 19:58:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream>
using namespace std;
int main()
{int A,B,S;
ifstream f("adunare.in");
ofstream h("adunare.out");
f>>A;f>>B;
S=A+B;
h<<S;
f.close();
h.close();
return 0;}