Cod sursa(job #219726)
Utilizator | Data | 8 noiembrie 2008 10:20:31 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include<fstream.h>
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main()
{
int a, b;
fin >> a >> b;
fout << a + b << '\n';
fin.close();
fout.close();
return 0;
}