← Back to List

2556번: 별 찍기 - 14 ↗

Solutions

C++14
175 B | 175 chars
#include <iostream>
using namespace std;
int N;
int main()
{
    cin>>N;
    for(int x=0; x<N; x++)
    {
        for(int y=0; y<N; y++) cout<<"*";
        cout<<endl;
    }
}