Cod sursa(job #1431074)
Utilizator | Data | 8 mai 2015 23:43:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | teme_upb | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main() {
ifstream f("adunare.in");
ofstream g("adunare.out");
long a, b, s;
f >> a >> b;
s = a + b;
g << s << endl;
return 0;
}