Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Meme.137
Problemset: อโมกุส
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-07 09:35:59
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
cout<<" ";
}
for(int j=1;j<=n;j++){
cout<<"###";
}
cout<<"\n";
}
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
cout<<"##";
}
for(int j=1;j<=n*2;j++){
cout<<" ";
}
cout<<"\n";
}
for(int i=1;i<=n;i++){
for(int j=1;j<=n;j++){
cout<<"####";
}
cout<<"\n";
}
for(int i=1;i<=n;i++){
for(int k=1;k<=2;k++){
for(int j=1;j<=n;j++){
cout<<" ";
}
for(int j=1;j<=n;j++){
cout<<"#";
}
} cout<<"\n";
}
return 0;
}