2025/8/18刷题记录 摘要:解题思路:End of file意思是输入不为null注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){&nb…… 题解列表 2025年08月18日 0 点赞 0 评论 61 浏览 评分:0.0
最简单易懂的解法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>#include <string.h>int main(){ char a[80]; …… 题解列表 2024年11月21日 0 点赞 0 评论 420 浏览 评分:0.0
大小写转换(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char ch[100]; while(gets(ch)){//while多…… 题解列表 2023年11月25日 0 点赞 0 评论 410 浏览 评分:0.0
大小写转换(乐,误会了“输入以“End of file”结束。”这句话,还以为输出这个字符串停止输入) 摘要:参考代码: ```c #include #include int main() { char a[80]={'\0'}; while(~scanf("%s",a)) { …… 题解列表 2023年09月22日 0 点赞 0 评论 474 浏览 评分:0.0
大小写转换(c语言代码) 摘要:```c #include #include void toUp(char* strs); int main() { char strs[81] = { 0 }; while…… 题解列表 2023年04月29日 0 点赞 1 评论 702 浏览 评分:9.9
编写题解 1204: 大小写转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[80]; int i=0,l; while(gets(a)) …… 题解列表 2023年01月04日 0 点赞 0 评论 429 浏览 评分:0.0
我写比较简单getline(cin,s)运用一下就行了!1204: 大小写转换 摘要:##1204: 大小写转换 ####一如既往的秒杀题,就是这个优质题解到底怎么申请啊!我想要优质题解:tw-1f367: ```cpp #include using namespace std…… 题解列表 2022年12月30日 0 点赞 0 评论 343 浏览 评分:6.0
最基本的思路这道题 摘要:解题思路:利用不断输入想到while,然后利用字符数组将小写字母-32变成大写字母;注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ …… 题解列表 2022年12月23日 0 点赞 0 评论 201 浏览 评分:0.0
大小写转换 摘要:解题思路:注意事项:EOF不是特殊字符,而是定义在头文件<stdio.h>的常量,通常等于-1,是判断文件是否结束的标志。参考代码:#include<stdio.h>#include<string.h…… 题解列表 2022年12月22日 0 点赞 0 评论 316 浏览 评分:9.9
大小写转换 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[50]; while(gets(a)) { …… 题解列表 2022年12月22日 0 点赞 0 评论 180 浏览 评分:0.0