文章
16
粉丝
134
获赞
0
访问
11.5k
#include<stdio.h>
int same(int b[105][105], int a[105][105], int n) {
for (int i = 1;i <= n;i++)
for (int j = 1;j <= n;j++) {
if (a[i][j] != b[i][j])
return 0;
}
return 1;
}
int main(){
int n;
int a[105][105];
int b[105][105];
while(scanf("%d",&n)!=EOF){
int a[105][105];
int b[105][105];
for(int i = 1; i <= n; i++) {
for(int j = 1; j <= n; j++)
scanf("%d",&a[i][j]);
}
for(int i = 1; i <= n; i++) {
...
登录后发布评论
nb