Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: SassyDemonLord
Problemset: อโมกุส
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-05 19:40:18
#include<bits/stdc++.h>
using namespace std;
int main(){
long long int n;
cin>>n;
for(int x = 1; x<=n ; x++){
for(int y = 1 ; y <= n ; y++){
cout<<" ";
}
for(int y = 1 ; y<= n ; y++){
cout<<"###";
}
cout<<'\n';
}
for(int x = 1; x<=n ; x++){
for(int y = 1 ; y <= n ; y++){
cout<<"##";
}
cout<<'\n';
}
for(int x = 1; x<=n ; x++){
for(int y = 1 ; y <= n ; y++){
cout<<"####";
}
cout<<'\n';
}
for(int x = 1; x<=n ; x++){
for(int y = 1 ; y <= n ; y++){
cout<<" ";
}
for(int y = 1 ; y<= n ; y++){
cout<<"#";
}
for(int y = 1 ; y<= n ; y++){
cout<<" ";
}
for(int y = 1 ; y<= n ; y++){
cout<<"#";
}
cout<<'\n';
}
}