资源列表
[其它] 第一次实验报告(数正方)
说明:设有n*m个方格的棋盘(1<=m,n<=100),求出该棋盘中包含多少个正方形、多少个长方形(不包括正方形)。 例如:当n=3,m=2 时 正方形的个数有8个;即边长为1的正方形有6个;边长为2的正方形有2个。 -with n * m box at the chessboard (1LT; = M, 4; = 100), obtained the chessboard includes the number of square, the number of rect<崔青> 在 2008-10-13 上传 | 大小:96.24kb | 下载:0