#include <stdio.h> int main() { int a, b, i, j; while(scanf("%d%d", &a, &b) != EOF) { for(i = 1; i <= b; i++) { if(i == 1 || i == b) { for(j = 1; j <= b - i; j++) { printf(" "); } for(j = 1; j <= a; j++) { printf("*%c", j == a ? '\n' : ' '); } } else { for(j = 1; j <= b - i; j++) { printf(" "); } for(j = 1; j <= a; j++) { if(j == 1 || j =
bLue的平行四边形
最新推荐文章于 2023-03-23 18:47:53 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)