文章

38

粉丝

56

获赞

64

访问

3.8k

头像
旋转矩阵 - 北航 题解:暴力
P1377 北京航空航天大学机试题
发布于2025年3月12日 18:45
阅读数 12

#include <bits/stdc++.h>
using namespace std;

int juzhen1[10][10];
int juzhen2[10][10];
int juzhen3[10][10];
int juzhen4[10][10];
int jilu[10][10];

void du0(int n)
{
    for(int i=0;i<n;i++)
    {
        for(int j=0;j<n;j++)
        {
            cin>>juzhen1[i][j];
        }
    }
}

void duizhao(int n)
{
    for(int i=0;i<n;i++)
    {
        for(int j=0;j<n;j++)
        {
            cin>>jilu[i][j];
        }
    }
}

void du90(int n,int juzhen[10][10])
{
    int count=0;
    for(int j=n-1;j>=0;j--)
    {
 ...

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发