1113: C语言考试练习题_保留字母 摘要:##题目1113: C语言考试练习题_保留字母 **解题思路:输入一个字符串,一个个判断是否为字母,如果符合条件就输出** ```cpp #include using namespace st…… 题解列表 2023年07月30日 0 点赞 0 评论 338 浏览 评分:0.0
优质题解 去掉空格(C语言 精简!) 摘要:解题思路: 利用gets()返回值(非0为真)作为while循环条件解决多行输出问题利用指针变量p对字符串进行遍历,到\0停止遍历注意事项: *++p!='\0' 是先执行++…… 题解列表 2023年07月30日 0 点赞 3 评论 1824 浏览 评分:8.3
与7无关的数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,t=0,s=0; scanf("%d",&n); for(int i=1;i<=…… 题解列表 2023年07月30日 0 点赞 2 评论 672 浏览 评分:9.9
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct student{ int id; int score; …… 题解列表 2023年07月30日 0 点赞 0 评论 471 浏览 评分:0.0
画矩形(思路简单) 摘要:解题思路:注意事项:根据条件写代码参考代码:#include <stdio.h>int main(){ int x,y,c,n; scanf("%d %d %c %d",&x,&y,&c,…… 题解列表 2023年07月31日 0 点赞 0 评论 486 浏览 评分:9.9
信息学奥赛一本通T1239-统计数字 C++ STL 实现 摘要:# STL map `key`-> `value` ```c++ #include #include #include using namespace std; int main() …… 题解列表 2023年07月31日 0 点赞 0 评论 902 浏览 评分:6.0
蓝桥杯算法提高VIP-最大最小值 摘要:# max_element 和 min_element ```c++ #include #include #include #include using namespace std; i…… 题解列表 2023年07月31日 0 点赞 0 评论 477 浏览 评分:0.0
多组输入的循环方式解决 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#include<stdio.h>int main() { int n; scanf("%d", &n);…… 题解列表 2023年07月31日 0 点赞 0 评论 438 浏览 评分:0.0
优质题解 1238: 演讲大赛评分(C++解析) 摘要:代码解析: 定义了一个Player结构体,包含选手的姓名和分数列表。 然后,定义了一个calculateAverageScore函数,用于计算选手的平均分。函数中,首先将选手的分数列表复制到一个新…… 题解列表 2023年07月31日 0 点赞 0 评论 769 浏览 评分:9.9
1005:[编程入门]温度转换 摘要:解题思路:输入华氏温度,输出摄氏温度。注意事项:1,取两位小数的写法。2,原公式乘号省略。3,注意题目中要求的输出形式。参考代码:#include<stdio.h>int main(){ flo…… 题解列表 2023年07月31日 0 点赞 0 评论 451 浏览 评分:0.0