[编程入门]有规律的数列求和 摘要:解题思路:分子分母参考斐波那契数列规律注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include <stdio.h>float Fibonacci_1(fl…… 题解列表 2023年12月09日 0 点赞 0 评论 212 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;struct student{ char xuehao[10000]; …… 题解列表 2023年12月09日 0 点赞 0 评论 965 浏览 评分:0.0
优质题解 题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:阅读题目,我们可以发现,本题分为两个任务:一、计算三科分别的平均成绩。二、输出成绩最高的学生的信息。先来本题所需的主要知识点:结构体结构体的用处是定义一个“数据类型”。每个数据类型内包括各类…… 题解列表 2023年12月09日 163 点赞 0 评论 3438 浏览 评分:7.3
c语言利用数组 摘要:解题思路:#includeint main(){ int month_consume[12]; //每月的消费 int month_save=0; //单月的剩余 float a…… 题解列表 2023年12月09日 0 点赞 0 评论 992 浏览 评分:0.0
1049: [编程入门]结构体之时间设计 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;struct date{ int n,y,r;};int m[13]= {0…… 题解列表 2023年12月09日 0 点赞 0 评论 295 浏览 评分:0.0
C语言调用函数求阶乘 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>long long fun(int x){ long long y=0; if(x==1) retu…… 题解列表 2023年12月09日 0 点赞 0 评论 288 浏览 评分:9.9
C语言简单for循环求阶乘 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ long long a,b=1,sum=0; int i; scanf("%lld",&a); f…… 题解列表 2023年12月09日 0 点赞 0 评论 145 浏览 评分:0.0
1446: 蓝桥杯2013年第四届真题-核桃的数量 摘要: $$GCD(A,B)\times LCM(A,B)=A\times B$$ ```cpp #include using namespace std; // 最大公约数 int GCD(…… 题解列表 2023年12月09日 1 点赞 0 评论 290 浏览 评分:9.9
1866:三位数反转(C++) 摘要:解题思路:百位数为i/100;十位数为1/10-i/100*10;个位数为i-i/100*100-(i/10-i/100*10)*10注意事项:此题目含“有多组测试数据”则需要用循环结构参考代码:#i…… 题解列表 2023年12月09日 0 点赞 0 评论 308 浏览 评分:9.9
编写题解 1160: 出圈(队列) 摘要:解题思路:把m-1个数加到后面之后,删除第一个数即可注意事项:参考代码:while True: try: n,m = map(int,input().split()) …… 题解列表 2023年12月09日 1 点赞 0 评论 276 浏览 评分:0.0