Cod sursa(job #584160)
Utilizator | Data | 24 aprilie 2011 13:35:43 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
using namespace std;
const char iname[] = "adunare.in";
const char oname[] = "adunare.out";
ifstream fin(iname);
ofstream fout(oname);
int a, b;
int main()
{
fin >> a >> b;
fout << a + b << "\n";
return 0;
}