#pragma once template T max_(T a, T b) { return a > b ? a : b; } template T min_(T a, T b) { return a > b ? b : a; }