题解列表
题解:母牛的故事(递归)
摘要:#include<stdio.h>intIndex(intn){ inta[1000]={}; intf……
1045: [编程入门]自定义函数之整数处理
摘要:#include<stdio.h>void min(int *num){ int temp = num[0]; int flag1;&n……
1047: [编程入门]报数问题
摘要:#include<stdio.h>int main(){ int x, m; scanf("%d" , &x……
1050: [编程入门]结构体之成绩记录
摘要:#include<stdio.h>struct data{ char xuehao[100]; char name[100]; ……
1051: [编程入门]结构体之成绩统计2
摘要:#include<stdio.h>struct data{ char xuehao[100]; char name[100]; ……
思路简单适合新手,无swap
摘要:#include#includeusing namespace std;int input(int nu[]){ for(int i = 0;i>nu[i]; }……
c++实现,思路简单明了
摘要:#代码#```cpp#include#includeusing namespace std;int main(){ string s1; int m; ……
自己用类写的,感觉没有第二版好,可以看一下。
摘要:```cpp#includeusing namespace std;class Shijian{ private: int year; int month……
编写题解 1621: 蓝桥杯算法训练VIP-字符串编辑(每一行都有注释,一看就懂)
摘要: #include #include // 函数功能:删除字符串中第一个出现的字符a // 参数:str[]:要操作的字符串,a:要删除的目标字符 // ……