Cod sursa(job #332898)
Utilizator | Data | 20 iulie 2009 21:35:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.18 kb |
#include <fstream.h>
#include <iostream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}