Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Bestzu

Problemset: อโมกุส

Language: cpp

Time: 0.002 second

Submitted On: 2025-10-07 15:35:13

#include <bits/stdc++.h>
#define endl '\n'
using namespace std;



int main() {
    ios::sync_with_stdio(false); cin.tie(0);
	
	int n; cin >> n;
	for(int j = 0; j < n; j++) {
		for(int i = 0; i < 4*n; i++) {
			if(i < n) cout << " ";
			else cout << "#";
		}
		cout << endl;
	}
	
	for(int i = 0; i < n; i++) {
		for(int j = 0; j < 2*n; j++) {
			cout << "#";
		}
		cout << endl;
	}
	
	for(int i = 0; i < n; i++) {
		for(int j = 0; j < 4*n; j++) {
			cout << "#";
		}
		cout << endl;
	}
	int j = 0;
	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 << endl;
	}
	
	return 0;
}