Cod sursa(job #1419403)
Utilizator | Data | 15 aprilie 2015 15:47:21 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.27 kb |
#include <iostream>
#include <fstream>
int main(int argc, char** argv)
{
std::ifstream fin("adunare.in");
std::ofstream fout("adunare.out");
long double nr1, nr2;
fin >> nr1 >> nr2;
fout << nr1 + nr2;
fin.close();
fout.flush();
fout.close();
}