Cod sursa(job #1535360)
Utilizator | Data | 24 noiembrie 2015 18:01:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.23 kb |
#include<iostream>
#include<fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{ int a, b, s=0;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}