Submission
Status:
PPPPPPPPPP
Score: 100
User: idontknow
Problemset: อโมกุส
Language: cpp
Time: 0.002 second
Submitted On: 2024-12-15 21:54:32
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
int n;
cin >> n;
int cn=n*3,bn=n*2,dn=n*4;
//head
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cout<< ' ';
}
for(int j=0;j<cn;j++){
cout<< '#';
}
cout << '\n';
}
//face
for(int i=0;i<n;i++){
for(int j=0;j<bn;j++){
cout << '#';
}
cout << '\n';
}
//boby
for(int j=0;j<n;j++){
for(int i=0;i<dn;i++){
cout << '#';
}
cout << '\n';
}
//feet
for(int i=0;i<n;i++){
for(int j=0;j<n;j++){
cout<< ' ';
}
for(int j=0;j<n;j++){
cout<< '#';
}
for(int j=0;j<n;j++){
cout<< ' ';
}
for(int j=0;j<n;j++){
cout<< '#';
}
cout << '\n';
}
return 0;
}