Cod sursa(job #1927293)
Utilizator | Data | 15 martie 2017 00:24:14 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
main ()
{
int a,b,c;
f>>a>>b;
c=a+b;
g<<c ;
f.close (); g.close ();
return 0;
}