Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Sol2468

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2026-10-14 10:46:22

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

int n ;

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(NULL) ;
    cin >> n ;
    for(int i=0 ; i<n ; i++){
        string temp1(n,' ') ;
        string temp2(n*3,'#') ;
        cout << temp1+temp2 << '\n' ;
    }
    for(int i=0 ; i<n ; i++){
        string temp1(n*2,'#') ;
        cout << temp1 << '\n' ;
    }
    for(int i=0 ; i<n ; i++){
        string temp1(n*4,'#') ;
        cout << temp1 << '\n' ;
    }
    for(int i=0 ; i<n ; i++){
        string temp1(n,' ') ;
        string temp2(n,'#') ;
        cout << temp1+temp2+temp1+temp2 << '\n' ;
    }
    return 0 ;
}