Cod sursa(job #1463335)
| Utilizator | Data | 20 iulie 2015 18:38:00 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.28 kb |
#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
fstream f("adunare.in", ios::in);
fstream g("adunare.out", ios::out);
int a, b, c;
f >> a;
f >> b;
c = a + b;
g << c;
f.close();
g.close();
return 0;
}
