Algothon Assignment 1-Staircase to binary world Solved

30.00 $

Category:

Description

Rate this product

 

All Contests  Algothon Entrance Test  Staircase to binary world

Staircase to binary world

Problem Submissions Leaderboard Discussions

You are asked to build a staircase with N steps to the binary world as an example if you are asked to build a staircase with 4 steps.

Note than there shouldn’t be any empty line at the bottom.

Input Format

N – number of steps to build (an Integer)

Constraints

0 < N < 11

Output Format

print a staircase as shown in the example

Sample Input 0

5

Sample Output 0

      #
     ##
    ###
   ####
  #####

LEADERBOARD

Search

Conte

Subm Max S Difficu

Rate T



More

  • Staircase-to-binary-world-sffbqd.zip