Cod sursa(job #1150499)
Utilizator | Data | 23 martie 2014 10:22:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int main()
{
int a ,b;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
f1>>a;
f1>>b;
f1.close();
f2<<(a+b);
f2.close();
return 0;
}