没有比我更简单的了 #include <stdio.h> #include<string.h> int main() { char str[5]={0}; int count=0; while(scanf("%s",str)==1) { count+=strlen(str); } printf("%d\n",count); }</string.h></stdio.h>
点赞

相关推荐

不愿透露姓名的神秘牛友
07-11 15:08
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-10 12:05
点赞 评论 收藏
分享
点赞 评论 收藏
分享
哈哈哈哈哈哈哈哈哈哈这个世界太美好了
凉风落木楚山秋:毕业出路老师不管,你盖个章他好交差就完事了,等你盖完毕业了就不关他事情了
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务