Cod sursa(job #124634)
Utilizator | Data | 19 ianuarie 2008 18:05:32 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include<fstream.h>
#include<iostream.h>
int main()
{
int a,b;
fstream q("a+b.in", ios::in);
fstream z("a+b.out", ios::out);
q>>a>>b;
z<<a+b;
q.close();
z.close();
return 0;
}