upd: make UnsignedMultiplyByIn private

This commit is contained in:
2023-11-01 18:28:51 +08:00
parent 8f7bbdf4db
commit ec04b327e9
2 changed files with 3 additions and 3 deletions

View File

@ -49,6 +49,7 @@ root= 6
__int128_t QuickPow(__int128_t v, long long q);
void NTTTransform(__int128_t *, int, bool);
friend int2048 GetInv(const int2048 &, int);
void UnsignedMultiplyByInt(int);
public:
int2048();
@ -58,7 +59,6 @@ root= 6
int2048(int2048 &&) noexcept;
~int2048();
void UnsignedMultiplyByInt(int);
void LeftMoveBy(int);
void RightMoveBy(int);

View File

@ -4,7 +4,7 @@ int main()
using namespace sjtu;
int2048 a("1234567871928347194791784918734981");
a.print(); puts("");
a.UnsignedMultiplyByInt(2147483647);
// a.UnsignedMultiplyByInt(2147483647);
a.print(); puts("");
return 0;
}