#include <stdio.h>
#include <math.h>
main()
{
    int shu[6][6]={0};
    int a,b;
    for(a=0;a<6;a++)
    {
        for(b=0;b<6;b++)
        {
            if(a==b) shu[a][b]=1;
            if(a+b==5) shu[a][b]=-1;
            printf("%d  ",shu[a][b]) ;
        }
        printf("\n");
    }
 getchar();
 }

P95 11

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-25
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
相关资源
相似解决方案