Cod sursa(job #124183)
| Utilizator | Data | 18 ianuarie 2008 14:24:42 | |
|---|---|---|---|
| Problema | A+B | Scor | 0 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void main()
{
int a,b,s;
fstream q("A+B.in", ios::in);
fstream z("A+B.out", ios::out);
q>>a;
q>>b;
s=a+b;
z<<s;
q.close();
z.close();
}
