Cod sursa(job #1431864)
Utilizator | Data | 9 mai 2015 11:26:46 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long long a, b, suma;
f >> a >> b;
suma = a + b;
g << suma;
f.close();
g.close();
}