Cod sursa(job #943197)
Utilizator | Data | 24 aprilie 2013 17:12:23 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int a;
int b;
int main()
{
f1>>a;
f1>>b;
f2<<a+b<<endl;
f1.close();
f2.close();
return 0;
}