题解列表

筛选

2919: 奖学金

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u { int xh;     int yv;  ……

1060:同因查找(python)

摘要:解题思路:注意事项:参考代码:for i in range(10,1001):    if(i%2==0 and i%3==0 and i%7==0):        print(i)    ……

2920: 分数线划定

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; struct u {     string str;     int……

[编程入门]有规律的数列求和

摘要:解题思路:分子分母参考斐波那契数列规律注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include <stdio.h>float Fibonacci_1(fl……
优质题解

题解 1051: [编程入门]结构体之成绩统计2

摘要:解题思路:阅读题目,我们可以发现,本题分为两个任务:一、计算三科分别的平均成绩。二、输出成绩最高的学生的信息。先来本题所需的主要知识点:结构体结构体的用处是定义一个“数据类型”。每个数据类型内包括各类……

c语言利用数组

摘要:解题思路:#includeint main(){    int month_consume[12]; //每月的消费    int month_save=0;   //单月的剩余    float a……

C语言调用函数求阶乘

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>long long fun(int x){ long long y=0; if(x==1) retu……

C语言简单for循环求阶乘

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    long long a,b=1,sum=0;    int i; scanf("%lld",&a); f……