From 085d1d08aee094bf0c52f0ee89d22b5535172ee1 Mon Sep 17 00:00:00 2001 From: DarkSharpness_XzY <2040703891@qq.com> Date: Fri, 20 Oct 2023 01:34:40 +0800 Subject: [PATCH] =?UTF-8?q?Upd:=20=E6=B2=A1=E6=9C=89=E5=8F=96=E6=A8=A1?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=9A=84=E5=A4=A7=E6=95=B4=E6=95=B0=E6=98=AF?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E7=81=B5=E9=AD=82=E7=9A=84!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- int2048.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/int2048.h b/int2048.h index 9eca7bb..279576d 100644 --- a/int2048.h +++ b/int2048.h @@ -65,6 +65,9 @@ public: int2048 &operator/=(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::ostream &operator<<(std::ostream &, const int2048 &);