report VI VI EN
Register | Login
  • HOME
  • PROBLEMSET
  • ROADMAP
  • COMPETITION
  • TOPIC
  • RANKING
  • GUIDE
  • MASHUP
  • ABOUT
  • CONTACT
  • Problem
  • Submit
  • Results
Star Triangle - MarisaOJ: Marisa Online Judge

Star Triangle

Time limit: 1000 ms
Memory limit: 256 MB
You are given an integer $a$. Print the following equilateral triangle with side of length $a$. ``` ****** ***** **** *** ** * ``` ### Input - An integer $a$. ### Output - The above triangle. ### Constraints - $1 \le a \le 1000$. ### Example Input: ``` 5 ``` Output: ``` ***** **** *** ** * ```
Loop
Loop
Even numbers
Factorial
Star Triangle
Folding paper
Fraction
Divisors
Complex Exponentiation
Prime number
Digit Sum
Fibonacci
Read number till eternity
Extremal
Reverse
Mushroom exchanging
Trailing zeros
Decimal to binary
Binary to decimal
Division
Solution
Topic
Basic
Rating 800
Solution (0) Solution