Submission
Status:
P---------
Subtask/Task Score:
10/100
Score: 10
User: Kidmaiok
Problemset: อโมกุส
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-09 11:54:09
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define space << ' '
#define nl << endl
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string up = "", body1 = "", body2 = "", leg = "";
int n;
cin >> n;
for(int i =0; i < n; i++){
up = up+ " ";
}
for(int i =0; i < (n*4)-1; i++){
up = up+ "#";
}
for(int i =0; i < n; i++){
cout << up;
cout << "\n";
}
for(int i =0; i < n*2; i++){
body1 = body1 + "#";
}
for(int i =0; i < n; i++){
cout << body1;
cout << "\n";
}
for(int i =0; i < n*4; i++){
body2 = body2 + "#";
}
for(int i =0; i < n; i++){
cout << body2;
cout << "\n";
}
for(int i =0; i < n; i++){
leg = leg + " ";
}
for(int i =0; i < n; i++){
leg = leg + "#";
}
for(int i =0; i < n; i++){
leg = leg + " ";
}
for(int i =0; i < n; i++){
leg = leg + "#";
}
for(int i =0; i < n; i++){
cout << leg;
cout << "\n";
}
}