Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: MrPian
Problemset: อโมกุส
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-11 11:05:42
#include<iostream>
using namespace std;
int n;
void sectiopn1(){
for(int i=0;i<n;i++){
for(int j=0;j<n;j++) cout << " ";
for(int j=0;j<n*3;j++) cout << "#";
cout << '\n';
}
}
void sectiopn2(){
for(int i=0;i<n;i++){
for(int j=0;j<0*n;j++) cout << " ";
for(int j=0;j<n*2;j++) cout << "#";
cout << '\n';
}
}
void sectiopn3(){
for(int i=0;i<n;i++){
for(int j=0;j<0*n;j++) cout << " ";
for(int j=0;j<n*4;j++) cout << "#";
cout << '\n';
}
}
void sectiopn4(){
for(int i=0;i<n;i++){
for(int j=0;j<1*n;j++) cout << " ";
for(int j=0;j<n*1;j++) cout << "#";
for(int j=0;j<1*n;j++) cout << " ";
for(int j=0;j<n*1;j++) cout << "#";
cout << '\n';
}
}
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cin >> n;
sectiopn1();
sectiopn2();
sectiopn3();
sectiopn4();
return 0;
}