Cod sursa(job #635104)
| Utilizator | Data | 18 noiembrie 2011 14:21:06 | |
|---|---|---|---|
| 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,c=0;
int main()
{
f>>a>>b;
c=a+b;
g<<c<<endl;
f.close();
g.close();
return 0;
}
