Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: tu29

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2025-10-15 13:33:13

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

int main()
{

    int x ;
    cin >> x ;

    
    
    for(int i = 1 ; i <= x ; i++)
    {

        for(int i = 1 ; i <= x ; i++)
        {

            cout << " " ;

        }
        for(int i = 1 ; i <= x ; i++)
        {

            cout << "###" ;
                
        }
        cout << endl ;
        
    }
    for(int i = 1 ; i <= x ; i++)
    {

        for(int i = 1 ; i <= x ; i++)
        {

            cout << "##" ;

        }
        for(int i = 1 ; i <= x ; i++)
        {

            cout << "  " ;
                
        }
        cout << endl ;
        
    }
    for(int i = 1 ; i <= x ; i++)
    {

        for(int i = 1 ; i <= x ; i++)
        {

            cout << "####" ;

        }
        cout << endl ;
        
    }
    for(int i = 1 ; i <= x ; i++)
    {

        for(int i = 1 ; i <= x ; i++)
        {

            cout << " " ;

        }
        for(int i = 1 ; i <= x ; i++)
        {

            cout << "#" ;
                
        }
        for(int i = 1 ; i <= x ; i++)
        {

            cout << " " ;

        }
        for(int i = 1 ; i <= x ; i++)
        {

            cout << "#" ;
                
        }
        cout << endl ;
        
    }
 
    return 0 ;
}