Cod sursa(job #724143)
Utilizator | Data | 26 martie 2012 11:46:47 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<iostream.h>
#include<fstream.h>
main()
{
int a,b;
fstream f1("adunare.out", ios::out), f2("adunare.in", ios::in);
f2>>a;
f2>>b;
f1<<a+b;
}