Submission

Status:

PPPPPPPPPPPPPPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: onlyme910

Problemset: Femboy

Language: cpp

Time: 0.017 second

Submitted On: 2025-10-09 12:43:14

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

int main(){
    int n;cin >> n;
    for(int i =0;i<n;i++){
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(4,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << endl;
    }
    for(int i =0;i<n;i++){
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(4,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(4,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(2,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(2,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        cout << endl;
    }
    for(int i =0;i<n;i++){
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(4,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        cout << endl;
    }
    for(int i =0;i<n;i++){
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(4,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(4,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        cout << endl;
    }
    for(int i =0;i<n;i++){
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(4,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(3,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(4,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(1,' ');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(5,'#');
        }
        cout << " ";
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        for(int j =0;j<n;j++){
            cout << string(1,'#');
        }
        for(int j =0;j<n;j++){
            cout << string(2,' ');
        }
        cout << endl;
    }
}