#include<iostream> #include<vector> using namespace std; int max(int m, int n) { return m>n?m:n; } int dp[3200]; int main() { int N,n,v,p,q; cin >> N >> n; N = N/10; int *ZJ_Pri = new int[n+1](); int *ZJ_Imp = new int[n+1](); int *FJ1_Pri = new in...