Submission

Status:
PPPPPPPPPP

Score: 100

User: Khiem

Problemset: อโมกุส

Language: cpp

Time: 0.002 second

Submitted On: 2024-09-25 13:23:49

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

signed main(){
	int n; scanf("%d", &n);
	for(int i = 0; i<n; ++i){
		for(int j = 0; j<n; ++j) printf(" "); 
		for(int j = 0; j<n; ++j) printf("###");
		puts("");
	}
	for(int i = 0; i<n; ++i){
		for(int j = 0; j<n; ++j) printf("##"); 
		puts("");
	}
	for(int i = 0; i<n; ++i){
		for(int j = 0; j<n; ++j) printf("####"); 
		puts("");
	}
	for(int i = 0; i<n; ++i){
		for(int j = 0; j<n; ++j) printf(" "); 
		for(int j = 0; j<n; ++j) printf("#"); 
		for(int j = 0; j<n; ++j) printf(" "); 
		for(int j = 0; j<n; ++j) printf("#"); 
		puts("");
	}
}