FisherKK

FisherKK : 分数精确值
4 年,6 月前

#include <iostream> #include <bits/stdc++.h> using namespace std ; int N , m , n ; set < int > Si ; vector < int > Vi ; vector < int > Vmod ; void solve (); int main () { cin >> N ; for ( int i ...查看全文
FisherKK : Quick power
4 年,6 月前

using namespace std ; using u64 = uint64_t ; template < typename UInt > UInt ipow ( UInt const kBase , UInt const kExp , UInt const kMod ) { UInt ret = 1 ; for ( UInt i = kExp , base = ...查看全文
FisherKK : BigInteger模板
4 年,6 月前

#include <iostream> #include <string> #include <cstdlib> #include <algorithm>//reverse函数所需添加的头文件 using namespace std ; /* 大整数类 */ class BigInt { private : inline int compare ( string s1 , string s2 ) ...查看全文