1592 数字方块
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
32M
Problem types
Allowed languages
C, C++, Java, Python
Description
数字方块就是用数字填充方块而已。
Input
若干个整数N(0<N<10)。当N为0时,输入结束。
Output
对于每个数字N,输出N*N方块,并以N作为字符填充。方块与方块之间空一行。
Sample
Input
3 2 0
Output
333
333
333
22
22
Source: qianneng
Comments