Cod sursa(job #1190435)
Utilizator | Data | 25 mai 2014 13:04:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | itmarathon | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int a, b;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
g << a + b << "\n";
f.close();
g.close();
return 0;
}