https://www.acmicpc.net/problem/2439
using System;
class Program
{
static void Main() {
int n=int.Parse(Console.ReadLine());
for(int i=1;i<=n;i++){
for(int k=0;k<n-i;k++){
Console.Write(" ");
}
for(int j=0;j<i;j++){
Console.Write("*");
}
Console.WriteLine();
}
}
}