16 lines
425 B
C++
16 lines
425 B
C++
#pragma once
|
|||
|
|
|
||
|
|
#include <map>
|
||
|
|
#include <string>
|
||
|
|
#include <tuple>
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace cpp17 {
|
||
|
|
|
||
|
|
[[nodiscard]] auto minmax_pair(const std::vector<int>& data) -> std::pair<int, int>;
|
||
|
|
[[nodiscard]] auto split_key_value(const std::string& text) -> std::pair<std::string, std::string>;
|
||
|
|
[[nodiscard]] auto first_pair(const std::map<std::string, int>& scores)
|
||
|
|
-> std::tuple<std::string, int, bool>;
|
||
|
|
|
||
|
|
} // namespace cpp17
|