Submission

Status:
----------

Score: 0

User: meme_boi2

Problemset: อโมกุส

Language: cpp

Time: 0.002 second

Submitted On: 2024-11-12 21:55:45

//Amogus
#include <bits/stdc++.h>
using namespace std;
int main()
{
    ios::sync_with_stdio(0);cin.tie(0);
    int n; cin >> n;
    for(int i = 0; i < n; i++){
        for(int j = 0; j < 4*n; j++){
            if(j < n) cout << ' ';
            else cout << '*';
        }
        cout << '\n';
    }
    for(int i = 0; i < n; i++){
        for(int j = 0; j < 2*n; j++){
            cout << '*';
        }
        cout << '\n';
    }
    for(int i = 0; i < n; i++){
        for(int j = 0; j < 4*n; j++){
            cout << '*';
        }
        cout << '\n';
    }
    for(int i = 0; i < n; i++){
        for(int c = 0; c < 4; c++){
            for(int j = 0; j < n; j++){
                if(c == 1 || c == 3) cout << '*';
                else cout << ' ';
            }
        }
        cout << '\n';
    }
    return 0;
}