This documentation is automatically generated by online-judge-tools/verification-helper
#pragma once
template <class T> constexpr bool setmin(T& lhs, const T& rhs) {
if (lhs > rhs) {
lhs = rhs;
return true;
}
return false;
}
#line 2 "utility/setmin.cpp"
template <class T> constexpr bool setmin(T& lhs, const T& rhs) {
if (lhs > rhs) {
lhs = rhs;
return true;
}
return false;
}