Upd: 没有取模操作的大整数是没有灵魂的!
This commit is contained in:
@ -65,6 +65,9 @@ public:
|
|||||||
int2048 &operator/=(const int2048 &);
|
int2048 &operator/=(const int2048 &);
|
||||||
friend int2048 operator/(int2048, const int2048 &);
|
friend int2048 operator/(int2048, const int2048 &);
|
||||||
|
|
||||||
|
int2048 &operator%=(const int2048 &);
|
||||||
|
friend int2048 operator%(int2048, const int2048 &);
|
||||||
|
|
||||||
friend std::istream &operator>>(std::istream &, int2048 &);
|
friend std::istream &operator>>(std::istream &, int2048 &);
|
||||||
friend std::ostream &operator<<(std::ostream &, const int2048 &);
|
friend std::ostream &operator<<(std::ostream &, const int2048 &);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user