Cod sursa(job #294762)
Utilizator | Data | 2 aprilie 2009 19:07:02 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <iostream>
#include <fstream>
using namespace std;
ifstream f("date.in",ios::in);
ofstream g("date.out",ios::out);
int main()
{
int a,b;
f>>a>>b;
g<<(a+b);
f.close();
g.close();
return 0;
}