我的第一篇博客
试试水~
贴的是2023.11.10的牛客练习赛118A题代码
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748#include<iostream>#include<string>using namespace std;int t;int main(){ cin>>t; while(t--){ string s,t; int st1[27]={0},st2[27]={0}; cin>>s; cin>>t; for(int i=0;i<s.size();i++){ int temp=s[i]-97; st1[temp]++; } for(int i=0;i<t.size();i++){ int temp=t[i]-97; st2[temp]++; } //for(i ...