mirea-projects/Second term/Industrial programming technologies/5/1.cpp
2024-09-24 02:22:33 +03:00

15 lines
213 B
C++
Executable File

#include <memory>
#include <iostream>
using namespace std;
int main() {
double num;
cin >> num;
unique_ptr<double> ptr = make_unique<double>(num);
cout << *ptr << endl;
return 0;
}