Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Name4mepls

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2026-10-13 20:20:41

#include <iostream>
using namespace std;

#define endl << endl
#define sp << " "
#define colon << ":"
#define ll long long

int main(){
    int n,size,length;
    cin >> n;\
    size=(4*n)-n;
    length=2*n;
    for(int row=0;row<4*n;row++){
        for(int col=0;col<4*n;col++){
            if(col<n && row<n) cout sp;
            else if(col<n && row>=size) cout sp;
            else if(col>=2*n && col<2*n+n && row>=size) cout sp;
            else if(col>=length && row>=n && row<length) cout sp;
            else cout << "#";
        }
        cout endl;
    }
}