Submission

Status:

PPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: s

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2025-09-22 19:16:36

#include<iostream>
using namespace std ;
int main() {
	int a ;
	cin >> a ;
	for(int i=0;i<a;i++) {
		for(int j=0;j<a;j++) {
			cout << " " ;
		}
		for(int k=0;k<a;k++) {
			cout << "###" ;
		} cout << endl ;
	}
	for(int o=0;o<a;o++) {
		for(int l=0;l<a;l++) {
			cout << "##" ;
		} cout << endl ;
	}
	for(int p=0;p<a;p++) {
		for(int m=0;m<a;m++) {
			cout << "####" ;
		} cout << endl ;
	}
	for(int r=0;r<a;r++) {
		for(int q=0;q<2;q++) {
			for(int n=0;n<a;n++) {
				cout << " " ;
			}
			for(int s=0;s<a;s++) {
				cout << "#" ;
			}
		} cout << endl ;
	}
}