Submission

Status:

PPPPPPPP

Subtask/Task Score:

100/100

Score: 100

User: Veerawich

Problemset: Star Tower Builder

Language: cpp

Time: 0.002 second

Submitted On: 2025-12-28 19:34:21

/******************************************************************************

Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a;
    cin>>a;
    for(int i=1;i<=a;i++) {
        string b = "*";
        for(int j=0;j<i;j++) {
            cout<<b;
        }
        cout<<"\n";
    }
    
}