Cod sursa(job #1382976)
Utilizator | Data | 9 martie 2015 19:48:25 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
int main()
{
f>>a>>b;
s=a+b;
g<<s<<"\n";
f.close();
g.close();
return 0;
}