[编程入门]三个字符串的排序 摘要:解题思路:注意事项:如果使用strcmp感觉只能用冒泡排序了,初始化字符串时可以用一维的字符串指针数组储存,用二维字符串数组也行。参考代码:#include <stdio.h>#inclu…… 题解列表 2025年11月04日 1 点赞 0 评论 141 浏览 评分:10.0
T1010-利润计算--步骤清晰 摘要:解题思路:注意事项:参考代码:l=int(input())bonus=0levels=[&n…… 题解列表 2025年11月04日 0 点赞 0 评论 167 浏览 评分:0.0
一个for循环解决问题 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<stdio.h>int main(){ int i,n,temp; d…… 题解列表 2025年11月04日 0 点赞 0 评论 119 浏览 评分:0.0
慢慢看,慢慢理解,你也能做到, 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int a=0,n=0;int answer=0;int main(){ …… 题解列表 2025年11月04日 0 点赞 0 评论 147 浏览 评分:0.0
整数序列的元素最大跨度值 ———— STL解法 摘要:解题思路:使用具有C++特色的vector<>容器来代替数组使用,同时使用迭代器,调用STL…… 题解列表 2025年11月04日 0 点赞 0 评论 63 浏览 评分:0.0
[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char str[30…… 题解列表 2025年11月04日 0 点赞 0 评论 109 浏览 评分:0.0
1041: [编程入门]宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define MAX(a, b, c)\{\ printf("%.3lf"…… 题解列表 2025年11月04日 0 点赞 0 评论 64 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float num = 0; scanf(&qu…… 题解列表 2025年11月04日 0 点赞 0 评论 63 浏览 评分:0.0
[编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define LEAP_YEAR(year)\{\ if((year % 4 == 0 &am…… 题解列表 2025年11月04日 0 点赞 0 评论 76 浏览 评分:0.0