自定义函数之整数处理 摘要:解题思路:1.提前自定义最大值函数,最小值函数2.利用for循环依次比较10个数,选出最小值并用 j 记录位置,将 arr[0] 与 arr[j] 互换其值3.同样利用上述思想实现 arr[9] 与最…… 题解列表 2022年12月06日 0 点赞 0 评论 326 浏览 评分:0.0
题解: 蓝桥杯算法训练VIP-提货单【Python】 摘要:注意事项:最终格式化输出,小数点保留6位。参考代码:N = int(input()) inf = [] for i in range(N): inf.append(list(input(…… 题解列表 2022年12月06日 0 点赞 0 评论 264 浏览 评分:9.9
那位大佬能帮我看一下哪里错了吗,为啥我在devc++上可以运行,答案还对了,然后复制来这就不对了,想哭了! 摘要:解题思路:那位大佬能帮我看一下哪里错了吗,为啥我在devc++上可以运行,答案还对了,然后复制来这就不对了,想哭了!注意事项:参考代码:#include<stdio.h>int main(){ int…… 题解列表 2022年12月06日 0 点赞 1 评论 199 浏览 评分:0.0
一种超简单的方法 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun1(int r,int c){ int a=1; for(int i=0;i<c;i++) { …… 题解列表 2022年12月06日 0 点赞 0 评论 321 浏览 评分:0.0
蓝桥杯算法提高VIP-单词个数统计 摘要:#include<bits/stdc++.h> using namespace std; int main(void){ int cnt=1; string s; getline(ci…… 题解列表 2022年12月06日 0 点赞 0 评论 309 浏览 评分:9.9
菜鸟首次尝试(python)超简单解法 摘要:解题思路:先写个输入,再用for循环来表示饥行,count_hang来记录行数,最后打印出来就行注意事项:参考代码:n=int(input())count_hang=0for i in range(n…… 题解列表 2022年12月06日 0 点赞 0 评论 430 浏览 评分:9.9
纸张尺寸C语言 摘要:解题思路:注意事项:ASCII码的使用。参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int length[10][2]; int…… 题解列表 2022年12月06日 0 点赞 0 评论 511 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:```cpp #include int month[13]={0,31,28,31,30,31,30,31,31,30,31,30,31},i,sum=0; struct time { i…… 题解列表 2022年12月06日 0 点赞 0 评论 313 浏览 评分:9.9
一种超简单的方法 摘要:#include int main() { double n,m; scanf("%lf",&n); if(n…… 题解列表 2022年12月06日 0 点赞 0 评论 415 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:```cpp #include struct student{ char id[100]; char name[100]; int score[3]; }s; void input…… 题解列表 2022年12月06日 0 点赞 0 评论 326 浏览 评分:9.9