// SPDX-License-Identifier: MIT
#pragma once
namespace std {
template<class T> inline const T& min(const T&a,const T&b){return b<a?b:a;}
template<class T> inline const T& max(const T&a,const T&b){return a<b?b:a;}
template<class I,class T> inline void fill(I a,I b,const T&v){while(a!=b)*a++=v;}
template<class T> inline void swap(T&a,T&b){T t=a;a=b;b=t;}
}
