All Submissions


You will be given an integer N . Print the pattern for following N.
For N=5,
Pattern is
11111
0000
111
00
1

Input
An integer N

Output
Print the pattern for following N

Sample Input
3

Sample Output
111
00
1

Languages: AWK,Bash,Brain,C,C++,Java,C#,JavaScript,Pascal,Perl,PHP,Python,Python3,Ruby,Text

Time Limit: 1 Second(s)
Score: 100 Point(s)
Input File Limit: 50000 Bytes

Submit

Login to post clarification.

No Clarifications.

Contest

Mode Judge

Passive

Online

Overall Rankings