结构体之成绩记录(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ char id[20]; char name[20]; int…… 题解列表 2021年12月01日 0 点赞 0 评论 813 浏览 评分:9.9
来自欧亚的天才刘磊 摘要:解题思路:这都能不懂了?注意事项:带上你的脑子,和一颗专注且想要求知的心来吧参考代码:int t,n,k=0; scanf("%d",&n); t=n; int i; for(i=0;i<5;i++)…… 题解列表 2021年12月01日 0 点赞 1 评论 773 浏览 评分:9.9
二级C语言-自定义函数 摘要:#include double fact(double n) { int i; double sum=1.0; for(i=1;i<=n;i++) s…… 题解列表 2021年12月01日 0 点赞 0 评论 592 浏览 评分:9.9
猴子吃桃问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n); int t=1; for(i=1;i…… 题解列表 2021年12月01日 0 点赞 2 评论 643 浏览 评分:9.9
1434: 蓝桥杯历届试题-回文数字 n=int(input().strip())c=0defhuiwen(s):foriinrange(len(s)//2):ifs[i]!=s[len(s)-1-i]:return0return1foriinrange(10000,1000000):s=str(i)ifhuiwen(s):x=sum([ 题解列表 2021年12月01日 0 点赞 0 评论 850 浏览 评分:9.9
链表合并(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;struct student{ int id; int score; student *nex…… 题解列表 2021年12月01日 0 点赞 0 评论 897 浏览 评分:9.9
编写题解 1513: 蓝桥杯算法提高VIP-大数加法(C语言--带注释) 摘要:解题思路:注意事项:参考代码:#include#include//比较大小函数 int max(int a,int b){ return a > b ? a : b;}int main()…… 题解列表 2021年12月01日 0 点赞 0 评论 865 浏览 评分:9.9
蓝桥杯算法提高VIP-排队打水问题 摘要:解题思路:将每个人的打水时间进行排序,根据水龙头个数进行分组,然后每次记录等待时间+打水时间即可。(由于每人打水时间不同,因此排序后分组可以确保x结束时y也正好结束或者y在x之前结束。其中,Tx < …… 题解列表 2021年12月01日 0 点赞 0 评论 1242 浏览 评分:9.9
二级C语言-阶乘公式求职 摘要:#include <stdio.h> double fack(int k) { int i; double sum=1.0; for(i=1;i<=k;i++) …… 题解列表 2021年12月02日 0 点赞 2 评论 1038 浏览 评分:9.9
数字逆序输出的写法 摘要:解题思路: 一次输入10个数字,则定义一个数组元素为10的数组;后利用从右往左递降输出即可注意事项:数组长度为10,所以数组下标从0开始参考代码:#include<stdio.h>int m…… 题解列表 2021年12月02日 0 点赞 0 评论 1180 浏览 评分:9.9