Submission

Status:

PPPPPPPPPPPPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: solarsunny

Problemset: Femboy

Language: cpp

Time: 0.023 second

Submitted On: 2025-10-05 14:58:27

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

string word1 ="#####x#####x#   #x#### x#####x#   #";
string word2 ="#    x#    x## ##x#   #x#   #x # # ";
string word3 ="#####x#####x# # #x#### x#   #x  #  ";
string word4 ="#    x#    x#   #x#   #x#   #x  #  ";
string word5 ="#    x#####x#   #x#### x#####x  #  ";

void fill(int l, string w) {
    for(int h=0;h<l;h++) {
        for(int i=0; i<36; i++) {
            if(w[i] == '#') {
                for(int a=0; a<l; a++) {
                    cout << "#";
                }
            } else if(w[i] == 'x') {
                cout << " ";
            } else if(w[i] == ' ') {
                for(int a=0; a<l; a++) {
                    cout << " ";
                }
            } 
        }
        cout << "\n"; 
    }    
    return;
}

int main() {
    ios_base::sync_with_stdio(false); 
    cin.tie(NULL);
    int l;
    cin >> l;
    fill(l,word1);
    fill(l,word2);
    fill(l,word3);
    fill(l,word4);
    fill(l,word5);
    return 0;
}