Cod sursa(job #463592)
Utilizator | Data | 16 iunie 2010 15:34:51 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include <fstream>
#include <iostream>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int A,B;
f>>A>>B;
g<<A+B;
f.close();
g.close();
}