Submission

Status:
PPPPPPPPPP

Score: 100

User: Asphyrv

Problemset: อโมกุส

Language: cpp

Time: 0.003 second

Submitted On: 2024-10-18 00:34:36

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

int main(){
    cin.tie(NULL)->ios_base::sync_with_stdio(false);
    char a[4][4] = {{' ', '#', '#', '#'},
                    {'#', '#', ' ', ' '},
                    {'#', '#', '#', '#'},
                    {' ', '#', ' ', '#'}};
    int n;
    cin >> n;
    for(int i=0; i<4*n; i++){
        for(int j=0; j<4*n; j++){
            cout << a[i/n][j/n];
        }
        cout << '\n';
    }
    return 0;
}