#include <map>#include <stack>#include <iostream>using namespace std; struct Node { int row, col; }; int main(){ int n; char name; map<char, Node> matrix; cout<<"please input the number of the zimu:"<<endl; ci…
刷刷水题压压惊 低级版的能量项链 相当于复习一次中链式dp 这种合并了之后又后效性的题目 都可以用类似的方法做 #include<cstdio> #include<cstring> #include<algorithm> #define REP(i, a, b) for(int i = (a); i < (b); i++) using namespace std; typedef long long ll; const int MAXN = 512; ll x[M…