Cod sursa(job #7680)
Utilizator | Data | 21 ianuarie 2007 22:11:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.35 kb |
#include <fstream>
using namespace std;
#define InPut "adunare.in"
#define OutPut "adunare.out"
int a, b;
int main()
{
ifstream fin ( InPut );
ofstream fout ( OutPut );
fin >> a >> b;
fout << a + b;
fin.close();
fout.close();
return 0;
}