题解 | #简写单词#

简写单词

https://www.nowcoder.com/practice/0cfa856bf0d649b88f6260d878f35bb4

#include <stdio.h>
#include<string.h>
#include<ctype.h>
int main() {
    char arr[5000000]={0};
    fgets(arr,499999,stdin);
    char*new;
    new=strtok(arr," ");
    printf("%c",toupper(*new));
    while(new=strtok(NULL," "))
    {
        printf("%c",toupper(*new));
    }
    return 0;
}

全部评论

相关推荐

点赞 评论 收藏
分享
06-12 10:50
门头沟学院 Java
你的不定积分没加C:我怎么在学院群看到了同样的话
点赞 评论 收藏
分享
06-20 17:42
东华大学 Java
凉风落木楚山秋:要是在2015,你这简历还可以月入十万,可惜现在是2025,已经跟不上版本了
我的简历长这样
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务