找错
  • 板块灌水区
  • 楼主Sp6kw
  • 当前回复1
  • 已保存回复1
  • 发布时间2024/7/14 17:43
  • 上次更新2024/7/14 19:30:12
查看原帖
找错
611118
Sp6kw楼主2024/7/14 17:43
class BigInt {
private:
	int m_size;
	string m_num;
public:
	bool operator> (const BigInt& x) {
		if (m_size != x.m_size) return m_size > x.m_size;
		else return m_num > x.m_num;
	}
};

bool cmp(const BigInt& a, const BigInt& b) {
	return a > b;
}
2024/7/14 17:43
加载中...