Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: winniecoder1029

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2026-09-07 20:39:02

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

int main(){
    ios_base::sync_with_stdio(false); cin.tie(NULL);
    int n;
    cin >> n;
        for(int j=0;j<n;j++){
            for(int k=0;k<n;k++){
                cout << " ";
            }
            for(int k=0;k<n;k++){
                cout << "###";
            }
            cout << "\n";
        }
        for(int j=0;j<n;j++){
            for(int k=0;k<n;k++){
                cout << "##";
            }
            cout << "\n";
        }
        for(int j=0;j<n;j++){
            for(int k=0;k<n;k++){
                cout << "####";
            }
            cout << "\n";
        }
        for(int j=0;j<n;j++){
            for(int k=0;k<n;k++){
                cout << " ";
            }
            for(int k=0;k<n;k++){
                cout << "#";
            }
            for(int k=0;k<n;k++){
                cout << " ";
            }
            for(int k=0;k<n;k++){
                cout << "#";
            }
            cout << "\n";
        }
}