Cod sursa(job #595781)
Utilizator | Liviu Chircu liviuch | Data | 14 iunie 2011 00:39:49 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
main(){
std::ifstream f("adunare.in");
std::ofstream g("adunare.out");
int a,b;
f >> a;
f >> b;
g << a + b;
f.close();
g.close();
}