Cod sursa(job #1487409)
Utilizator | Data | 16 septembrie 2015 19:38:05 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream fi("adunare.in");
ofstream fo("adunare.out");
int a, b, s;
int main()
{
fi >> a >> b;
s = a + b;
fo << s;
return 0;
}