#include <iostream> #include <vector> using namespace std; struct XPower { XPower() { } //正数 long long n = 0; //负数 long long f = 0; }; long long GetMax(vector<int>& power,int n,int k, int d) { vector<vector<XPower>> dp(k,vector<XP...