Submission

Status:

--------

Subtask/Task Score:

0/100

Score: 0

User: Veerawich

Problemset: Star Tower Builder

Language: cpp

Time: 0.003 second

Submitted On: 2025-12-28 19:28:09

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

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=0;i<=a;i++) {
        string b = "*";
        for(int j=0;j<i;j++) {
            cout<<b;
        }
        cout<<"\n";
    }
    
}