Skip to content
On this page

d63_q2a_pair_gte.hpp

cpp
#pragma region student.h
#ifndef __STUDENT_H_
#define __STUDENT_H_

template <typename T1, typename T2>
bool CP::pair<T1, T2>::operator>=(const pair<T1, T2>& other) const {
    return this->first > other.first ||
           (this->first == other.first && this->second >= other.second);
}

#endif
#pragma endregion student.h

See on GitHub

Last Updated: 15/1/2567 13:25:21 (UTC+7)

Released under the MIT License