吴添添 • 2年前
using namespace std; int main() {
cin>>str;
for(int i=1;i<=10;i++)
{
cin>>s[i];
}
for(int i=1;i<=80;i++)
{
wzh[i%10]=s[i/10+1][i%10];
if(i%10==9)
{
for(int j=1;j<=10;j++)
{
if(s[j]==wzh)
{
cout<<i/10;
}
}
}
}
}
评论: