Cod sursa(job #2188362)
Utilizator | Data | 27 martie 2018 09:14:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | bpc9 | Marime | 0.21 kb |
#include <iostream>
#include<fstream>
using namespace std;
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
int a, b, suma;
f>>a>>b;
suma=a+b;
g<<suma;
f.close();
g.close();
}