Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: pann
Problemset: อโมกุส
Language: cpp
Time: 0.005 second
Submitted On: 2026-10-02 07:08:06
#include <iostream>
using namespace std;
int main(){
int n;
cin >> n;
string pattern[] = {
" ###",
"##",
"####",
"# #"};
for (string x: pattern){
for (int i = 0; i < n; i++){
for (char y: x){
for (int j = 0; j < n; j++){
cout << y;
}
}
cout << endl << endl;
}
}
return 0;
}