[编程入门]自定义函数之数字后移-题解(C++代码) 摘要:```cpp #include using namespace std; void k(int *a,int m,int n,int *p){ int j=n-m; i…… 题解列表 2020年04月06日 0 点赞 0 评论 849 浏览 评分:0.0
[竞赛入门]简单的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 评论 695 浏览 评分:8.0
[编程入门]分段函数求值-题解(C++代码) 摘要: ``` #include using namespace std; int main(void) { int x,y; cin>>x; if(x…… 题解列表 2020年04月06日 0 点赞 0 评论 1020 浏览 评分:8.4
[编程入门]报数问题-题解(C++代码) 摘要:```cpp #include #include using namespace std; int main(){ queue q; int n; cin>>…… 题解列表 2020年04月06日 0 点赞 0 评论 745 浏览 评分: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 评论 888 浏览 评分:7.3
The 3n + 1 problem -题解(C++代码) 摘要:题目的意思是 找出从i到j中哪一个数的循环次数最多 并输出它的次数 注意点:(1)将i和j排序 (2)排序后输出的仍要是i j,即顺序不能变。 ```cpp #include using na…… 题解列表 2020年04月06日 0 点赞 0 评论 684 浏览 评分:0.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 评论 715 浏览 评分: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 评论 934 浏览 评分:4.0
字符串的输入输出处理-题解(C++代码) 摘要: **(1)gets()函数和puts()函数的运用** 参照热门优质题解 PS--学到输入字符串的新写法:scanf("%[^\n]", strtmp); ```cpp #incl…… 题解列表 2020年04月06日 0 点赞 0 评论 957 浏览 评分:0.0
[编程入门]结构体之成绩记录-题解(C++代码) 摘要:```cpp #include using namespace std; typedef struct Student{ char num[30]; char name[3…… 题解列表 2020年04月06日 0 点赞 0 评论 641 浏览 评分:0.0