Cod sursa(job #23862)
Utilizator | Data | 1 martie 2007 15:31:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include <fstream.h>
int main()
{
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a;
f >> b;
g << a+b;
return 0;
}