Cod sursa(job #119002)
Utilizator | Data | 28 decembrie 2007 20:46:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
// Problema a+b
namespace std;
// #include <fstream>
int main()
{ long a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
c=a+b;
g<<c;
g.close();
}