[编程入门]选择排序-题解(C语言代码)选择排序 摘要:```c #include #define N 10 int main() { int i,j,min,temp; int a[N]; for(i=0;i…… 题解列表 2020年04月06日 0 点赞 0 评论 897 浏览 评分:8.0
[编程入门]结构体之成绩记录-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Student{ char num[30]; char name[3…… 题解列表 2020年04月06日 0 点赞 0 评论 597 浏览 评分:0.0
字符串的输入输出处理-题解(C++代码) 摘要: **(1)gets()函数和puts()函数的运用** 参照热门优质题解 PS--学到输入字符串的新写法:scanf("%[^\n]", strtmp); ```cpp #incl…… 题解列表 2020年04月06日 0 点赞 0 评论 890 浏览 评分:0.0
[编程入门]矩阵对角线求和-题解(C语言代码)代码的复用性 摘要:```c #include #define N 3 int main() { int a[N][N]; int i,j,sum1=0,sum2=0; for(i=…… 题解列表 2020年04月06日 0 点赞 0 评论 847 浏览 评分:4.0
[编程入门]结构体之时间设计-题解(C++代码) 摘要:```cpp #include using namespace std; bool leap(int year){ if(year%100==0&&year%4!=0||year%4…… 题解列表 2020年04月06日 0 点赞 0 评论 636 浏览 评分:0.0
The 3n + 1 problem -题解(C++代码) 摘要:题目的意思是 找出从i到j中哪一个数的循环次数最多 并输出它的次数 注意点:(1)将i和j排序 (2)排序后输出的仍要是i j,即顺序不能变。 ```cpp #include using na…… 题解列表 2020年04月06日 0 点赞 0 评论 657 浏览 评分:0.0
[编程入门]自定义函数之字符提取-题解(C语言代码) 摘要:```c #include #include char c[5]={'a','e','i','o','u'}; void T(char s1[],char s2[]) { wh…… 题解列表 2020年04月06日 0 点赞 0 评论 817 浏览 评分:7.3
[编程入门]报数问题-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ queue q; int n; cin>>…… 题解列表 2020年04月06日 0 点赞 0 评论 683 浏览 评分:0.0
[编程入门]分段函数求值-题解(C++代码) 摘要: ``` #include using namespace std; int main(void) { int x,y; cin>>x; if(x…… 题解列表 2020年04月06日 0 点赞 0 评论 963 浏览 评分:8.4
[竞赛入门]简单的a+b-题解(C++代码) 摘要:###c++使用方法 ``` #include using namespace std; int main(void) { int a,b,c; int i=0; while(c…… 题解列表 2020年04月06日 0 点赞 0 评论 639 浏览 评分:8.0