洛谷P1071潛伏者題解--zhengjun

題面傳送門c++ 思路 一看就是一道模擬。web 注意一下細節就能夠了。svg 代碼 #include<bits/stdc++.h> using namespace std; string a,b,c; int x[26],y[26];//分別從兩邊映射 int main(){ cin>>a>>b>>c; memset(x,-1,sizeof(x)); memset(y,-1,sizeof(
相關文章
相關標籤/搜索