Cod sursa(job #403124)
Utilizator | Data | 24 februarie 2010 17:26:37 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream>
using namespace std;int main(){int a,b;fstream f("adunare.in",ios::in),g("adunare.out",ios::out);f>>a;f>>b;f.close();g<<a+b;f.close();}