03 2023 档案
摘要:题目大意:左上角走到右下角,经过的路径权值连起来不能有重复,把没有重复的路径的条数加起来输出。 我自己写的时候也磕磕绊绊,主要是自己模拟一边,理明白了就好了 #include <iostream>#include <bits/stdc++.h>#include <map>#include <cstr
阅读全文
摘要:#include <iostream>#include <vector>#include <algorithm>using namespace std;vector<vector<int> > a(6); //bool cmp(vector<int>&a,vector<int>&b){// if(a
阅读全文