Cod sursa(job #974165)
Utilizator | Data | 16 iulie 2013 15:57:38 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.22 kb |
#include <fstream>
using namespace std;
int main()
{
int a,b;
ifstream f("adunare.in");
f>>a>>b;
f.close();
ofstream g("adunare.out");
g<<a+b<<"\n";
g.close();
return 0;
}