Cod sursa(job #2202760)
Utilizator | Data | 9 mai 2018 20:15:01 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main(){
int a,b;
fstream f("adunare.in",ios::in);
f>>a>>b;
f.close();
fstream g("adunare.out",ios::out);
g<<a+b;
g.close();
return 0;
}