12 lines
319 B
C++
12 lines
319 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace stl_algorithms {
|
||
|
|
|
||
|
|
[[nodiscard]] auto square_all(const std::vector<int>& data) -> std::vector<int>;
|
||
|
|
[[nodiscard]] auto sum_all(const std::vector<int>& data) -> int;
|
||
|
|
[[nodiscard]] auto product_positive(const std::vector<int>& data) -> long long;
|
||
|
|
|
||
|
|
} // namespace stl_algorithms
|