(Matrix) Print Pattern
Print Pattern
Description
Write a program that reads an interger n, and then displays 2^0, 2^1, … 2^i-1, … 2^0 for each line, where i = n…1. For example, if n=4, the pattern is as follow:
Input
...
原创
2018-06-17 11:03:12 ·
226 阅读 ·
0 评论