diff --git a/cpp/.idea/.gitignore b/cpp/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/cpp/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/cpp/.idea/cpp.iml b/cpp/.idea/cpp.iml new file mode 100644 index 0000000..4c94235 --- /dev/null +++ b/cpp/.idea/cpp.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/cpp/.idea/modules.xml b/cpp/.idea/modules.xml new file mode 100644 index 0000000..e009e75 --- /dev/null +++ b/cpp/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/cpp/.idea/rust.xml b/cpp/.idea/rust.xml new file mode 100644 index 0000000..7bc91ea --- /dev/null +++ b/cpp/.idea/rust.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/cpp/.idea/vcs.xml b/cpp/.idea/vcs.xml new file mode 100644 index 0000000..6c0b863 --- /dev/null +++ b/cpp/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/cpp/custom_search_closest_Ns_to_some_X.cpp b/cpp/custom_search_closest_Ns_to_some_X.cpp index 604dcf9..a103674 100644 --- a/cpp/custom_search_closest_Ns_to_some_X.cpp +++ b/cpp/custom_search_closest_Ns_to_some_X.cpp @@ -35,11 +35,11 @@ std::vector find_closest_numbers(const std::vector& numbers, int x, in std::cout << "\n------------------------------------------------\n"; - std::cout << "Исходные числа:"; + std::cout << "first:"; for (auto k : numbers) { std::cout << " " << k; } - std::cout << "\nНайденные числа для " << x << " :"; + std::cout << "\nfind num " << x << " :"; for (auto k : res) { std::cout << " " << k; }