题解列表

筛选

结构体之成绩统计2

摘要:解题思路:注意事项:参考代码:count = int(input())lst = []   #存放每个人的分数平均值str = []   #存放输入学生信息sum1=0sum2=0sum3=0for ……

C++最小生成树+并查集

摘要:解题思路:虚拟点0点,当码头只有一个时最后减掉,其他就是最小生成树和并查集注意事项:可以挣钱的路不管树通不通都加参考代码:#include<iostream> #include<vector> #……

日期的计算

摘要:解题思路:利用类进行处理;注意事项:平年、闰年的判断。参考代码:#include<iostream> class Time { private:int year, month, day; p……

字符串对比。

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>int main(){    c……

,,,,,。。。。。

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<math.h>void fun(int a,int b){    int i,j,……

自定义函数之字符提取

摘要:解题思路:调用三个字符数组str1,str2,str3,字符数组str1是用来输入字符串,字符数组str3是放入元音字母(有顺序排列),字符数组str2是用来存放str1中包含元音字母。第一个循环是为……