题解 | #线段图案#

线段图案

https://www.nowcoder.com/practice/a95744270f274a14a8a0dafe10421589

#include <stdio.h>

int main() {
    int n = 0;

    while (1 == scanf("%d", &n))
    {
        for (int i = 1; i <= n; i++)
        {
            printf("*");
        }
        printf("\n");
    }
    
    return 0;
}

全部评论

相关推荐

学不完不睡觉11:一眼点评,不过,看运气吧
点赞 评论 收藏
分享
2024-12-29 15:37
已编辑
西华大学 图像识别
程序员牛肉:去不了,大厂算法卡学历吧
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务