From a7197800dd7976b88f3d7613587fc3224aa829c0 Mon Sep 17 00:00:00 2001 From: mgt Date: Sat, 17 Oct 2020 19:34:47 +0800 Subject: [PATCH] =?utf8?q?fix:=20=E5=88=A0=E9=99=A4=E8=AF=AF=E5=AF=BC?= =?utf8?q?=E6=80=A7=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit thanks @Harry-Chen --- docs/math/bignum.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/math/bignum.md b/docs/math/bignum.md index 6a36caf8..b1a26fe5 100644 --- a/docs/math/bignum.md +++ b/docs/math/bignum.md @@ -711,12 +711,7 @@ $$ Big(const int); Big(const char*); Big(const Big&); - Big& operator=(const Big&); // 注意这里operator有&,因为赋值有修改…… - // 由于OI中要求效率 - // 此处不使用泛型函数 - // 故不重载 - // istream& operator>>(istream&, BigNum&); // 重载输入运算符 - // ostream& operator<<(ostream&, BigNum&); // 重载输出运算符 + Big& operator=(const Big&); Big operator+(const Big&) const; Big operator-(const Big&) const; Big operator*(const Big&)const; @@ -733,7 +728,6 @@ $$ bool operator<(const int& t) const; inline void print() const; }; - // README::不要随随便便把参数都变成引用,那样没办法传值 Big::Big(const int b) { int c, d = b; len = 0; -- 2.11.0