Cod sursa(job #690964)
Utilizator | Data | 26 februarie 2012 08:57:44 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{
int a,b,s;
ifstream f("adunare.in");
f>>a;
f>>b;
s=a+b;
f.close();
ofstream g("adunare.out");
g<<s;
g.close();
return 0;
}