Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: pupu
Problemset: อโมกุส
Language: cpp
Time: 0.003 second
Submitted On: 2026-10-02 16:28:37
#include <iostream>
#include <stack>
#include <queue>
using namespace std;
int main(){ios::sync_with_stdio(0);cin.tie(0);
int n;
cin>>n;
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cout<<" ";
}
for(int k=0;k<n;k++){
cout<<"###";
}
cout<<"\n";
}
for(int t=0;t<n;t++){
for(int l=0;l<n;l++){
cout<<"##";
}
cout<<"\n";
}
for(int m=0;m<n;m++){
for(int o=0;o<n;o++){
cout<<"####";
}
cout<<"\n";
}
for(int p=0;p<n;p++){
for(int q=0;q<2;q++){
for(int r=0;r<n;r++){
cout<<" ";
}
for(int s=0;s<n;s++){
cout<<"#";
}
}
cout<<"\n";
}
}