diff --git a/cpp/2303/230301.cpp b/cpp/2303/230301.cpp index 5cda7c3..03a73ff 100644 --- a/cpp/2303/230301.cpp +++ b/cpp/2303/230301.cpp @@ -13,7 +13,7 @@ private: static inline const int S = 50001; public: - static std::vector sortArray(std::vector& nums) { + static std::vector sortArray(const std::vector& nums) { const int n = nums.size(); std::vector ret(n); uint16_t bucket[100005]{};