Submission

Status:

PPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Karatat007

Problemset: Star Tower Builder

Language: cpp

Time: 0.004 second

Submitted On: 2026-10-08 10:53:32

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

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    int n;
    cin >> n;
    for(int i = 1;i <= n;++i){
        for(int j = 1;j <= i;++j) cout << '*';
        cout << '\n';
    }
}