Cod sursa(job #718596)
Utilizator | Data | 20 martie 2012 21:57:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int a,b;
fstream f("adunare.in",ios::in);
fstream g("adunare.out",ios::out);
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}