Cod sursa(job #1675790)
| Utilizator | Data | 5 aprilie 2016 16:15:22 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<iostream>
#include<fstream>
using namespace std;
void main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a, b;
f >> a;
f >> b;
g << (a + b);
f.close();
g.close();
}