Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: Visaaxolotl
Problemset: อโมกุส
Language: cpp
Time: 0.002 second
Submitted On: 2025-10-03 19:59:04
#include <bits/stdc++.h>
using namespace std;
int main(){
cin.tie(nullptr)->sync_with_stdio(false);
int a; cin >> a;
for (int x=0; x<a; x++){
for (int i=0; i<a*4; i++){
if (i<a){
cout << " ";
}
else {
cout << "#";
}
}
cout << "\n";
}
for (int x=0; x<a; x++){
for (int i=0; i<a*4; i++){
if (i>a*2-1){
cout << " ";
}
else {
cout << "#";
}
}
cout << "\n";
}
for (int x=0; x<a; x++){
for (int i=0; i<a*4; i++){
cout << "#";
}
cout << "\n";
}
for (int x=0; x<a; x++){
for (int i=0; i<a*4; i++){
if ((i>a-1&& i < 2*a)||(i>3*a-1)){
cout << "#";
}
else {
cout << " ";
}
}
cout << "\n";
}
}