数据溢出考虑
1.乘法产生:qmul
2.qpow产生(并且qmul处理不了,采取_int128(max)
#include<bits/stdc++.h>
#define int __int128
using namespace std;
int read(){ int x=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-') f=f*-1;ch=getchar();}while(ch>='0'&&ch&l.
原创
2022-04-26 11:21:42 ·
202 阅读 ·
0 评论