using namespace std;
int x,y,z;
int a[5][5],b[5][5],c[5][5];
void cheng(int a[5][5],int b[5][5],int c[5][5])
{
for(y=0;y<=4;y++)
{
for(z=0;z<=4;z++)
{
c[y][z] = a[y][z]*b[y][z];
}
}
}
int main()
{
for(x=0;x<=1;x++)
{
for(y=0;y<=4;y++)
{
for(z=0;z<=4;z++)
{
if(x==0)
cin >> a[y][z];
else
cin >> b[y][z];
}
}
}
cheng (a,b,c);
for(y=0;y<=4;y++)
{
for(z=0;z<=4;z++)
{
cout << c[y][z];
}
}
}```
```//只能输出步骤数
#include<iostream>
using namespace std;
int hnt(int x)
{
if(x==1) return 1;
else return 2 * hnt(x-1) + 1;
}
int main()
{
int x;
cin >> x;
int y = hnt(x);
cout << y;
}```
```#include<iostream>
#include<string>
using namespace std;
void turn(string str)
{
for (int i = str.size() - 1;i >= 0;i--)
{
cout << str[i];
}
}
int main()
{
string str;
cin >> str;
turn(str);
}```