没有比我更简单的了 #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>
点赞

相关推荐

点赞 评论 收藏
分享
抱抱碍事梨a:三点建议,第一点是建议再做一个项目,把自我介绍部分顶了,第二点是中南大学加黑加粗,第三点是建议加v详细交流
点赞 评论 收藏
分享
牛客网
牛客企业服务