解决方案:
1. if(scanf("%d",&a[i])){}
关于【PTA】warning: ignoring return value of ‘scanf’, declared with attribute
最新推荐文章于 2023-02-10 15:36:26 发布
博客给出了一个解决方案,涉及使用scanf函数读取整数到数组元素中,代码为if(scanf(\%d\&a[i])){},这属于程序设计中输入处理的内容。
4万+

被折叠的 条评论
为什么被折叠?



