upd: make UnsignedMultiplyByIn private
This commit is contained in:
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
Reference in New Issue
Block a user