Cod sursa(job #1282216)
Utilizator | Data | 3 decembrie 2014 23:49:18 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <fstream>
int main(){
long a,b;
std::ifstream f("adunare.in");
f>>a>>b;
f.close();
std::ofstream g("adunare.out");
g<<a+b<<'\n';
g.close();
return 0;
}