Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: stposn6922

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2026-10-09 13:46:04

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    int n;
    if (!(cin >> n)) return 0;

    vector<string> base = {
        " ###",
        "##",
        "####",
        " # #"
    };

    for (const string &row : base) {
        for (int i = 0; i < n; i++) {
            for (char c : row) {
                cout << string(n, c);
            }
            cout << "\n";
        }
    }

    return 0;
}