You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
proiectPOO/common.cpp

14 lines
268 B

//
// Created by ioachim on 19.05.2025.
//
#include "common.h"
std::string hashString(std::string str) {
return std::to_string(std::hash<std::string>{}(str));
}
template<typename data_type>
data_type MAX(data_type x, data_type y) {
return (x > y) ? x : y;
}