第一题: 没有用map,直接把字符串sort以后比较是否相等#include<bits/stdc++.h> using namespace std; int t; string s; int main () { cin >> t; string tar = "Baidu"; sort(tar.begin(), tar.end()); while(t--) { cin >> s; sort(s.begin(), s.end()); if(s =...