1 solutions

  • 0
    @ 2023-12-22 14:14:04
    #include<stdio.h>
    #include<math.h>
    int main()
    {
        int m,n;
        scanf("%d%d",&n,&m);
        int i,j;
        for(i=0;i<n;i++)
        {
             for(j=0;j<m;j++)
             {
                  printf("%c",65+abs(i-j)); 
             }
             printf("\n");
        } 
       return 0;
    }
    
    
    • 1

    Information

    ID
    1813
    Time
    1000ms
    Memory
    512MiB
    Difficulty
    5
    Tags
    # Submissions
    22
    Accepted
    13
    Uploaded By