模拟 Minimum Distance in a Star Graph
转自http://www.mamicode.com/info-detail-2019082.html#include<bits/stdc++.h>using namespace std;map<char, int> pos;char st[11], en[11];int n;bool OK(){ for(int i=0;...