#include <iostream> using namespace std; typedef long long ll; //快速幂FastPower ll fp(ll a, ll b, ll c) { ll ans = 1; while (b) { if (b & 1)//如果b是奇数,二进制末位是1 { ans*= a; } ans ...