Cod sursa(job #500317)
Utilizator | Data | 11 noiembrie 2010 21:17:57 | |
---|---|---|---|
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,c=0;
ifstream f ("adunare.in");
f>>a>>b;
c=a+b;
ofstream g ("adunare.out");
g<<c;
f.close();
g.close();
return 0;
}