摘要:
题目地址 Code #include<iostream> #include<vector> #include<map> using namespace std; struct Node { vector<char> v; int cnt; }c[20]; map<char,int> mp; int 阅读全文
摘要:
题目地址 题解 我是蒟蒻,所以我只会打一个暴力。 这道题就是状压+暴力Bfs,(连双向Bfs优化都不用,跟别说A*什么的了) Code #include<bits/stdc++.h> #define MAXBIT 150007 using namespace std; bool vis[MAXBIT 阅读全文