Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: kaiwanear
Problemset: อโมกุส
Language: cpp
Time: 0.003 second
Submitted On: 2025-10-08 14:16:43
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
// amogus head
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';
}
//amogus body
for (int i = 0; i < n; i++)
{
for (int j = 0; j < n*2; j++)
{
cout << '#';
}
for (int j = 0; j < n*2; j++)
{
cout << ' ';
}
cout << '\n';
}
//amogus leg
for (int i = 0; i < n; i++)
{
for (int j = 0; j < n*4; j++)
{
cout << '#';
}
cout << '\n';
}
// amogus 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;
}