[编程入门]矩阵对角线求和-题解(C语言代码) 摘要:三阶矩阵,主对角线元素下标为ii,负对角线元素为i 2-i #include int main() { int a[3][3],i,j,s1,s2; …… 题解列表 2019年10月28日 0 点赞 0 评论 718 浏览 评分:0.0
[编程入门]结构体之成绩统计2-题解(C++代码) 如果有问题欢迎在评论区指出哦~! 摘要:```cpp #include #define N 100 struct student { char a[100]; char b[100]; int c1,c2,c3; …… 题解列表 2019年10月28日 0 点赞 1 评论 723 浏览 评分:0.0
[编程入门]链表合并-题解(C++代码)。如果有疑问的话,欢迎在下方留言哦~! 摘要:```cpp #include #include typedef struct student { int snum; int grade; struct student *nex…… 题解列表 2019年10月28日 0 点赞 0 评论 760 浏览 评分:0.0
小白可看!!!dp算法入门——数字三角形 摘要:安利一发自己的博客:我是蒟蒻,请轻喷。 [https://blog.csdn.net/weixin_43738764](https://blog.csdn.net/weixin_43738764) …… 题解列表 2019年10月28日 0 点赞 0 评论 910 浏览 评分:0.0
The 3n + 1 problem -题解(C语言代码) 摘要:我是看了评论才注意到i,j输出的问题。但是我还有一个问题,输入1和1000000就得不到答案了,还想请教各位大佬。 ```c #include int fun(int m) { …… 题解列表 2019年10月28日 0 点赞 0 评论 463 浏览 评分:0.0
[编程入门]自定义函数之整数处理-题解(C语言代码) 摘要:```c #include void x(int a[10]) { for(int i=0; i…… 题解列表 2019年10月28日 0 点赞 2 评论 369 浏览 评分:0.0
[编程入门]宏定义之找最大数-题解(C语言代码) 摘要:解题思路: 条件表达式:a>b?a:b; 比较两个数的大小,并输出较大的数; ```c #include #define Max M=(a>b?a:b)>c?(a>b?a:b):c; i…… 题解列表 2019年10月29日 0 点赞 0 评论 731 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要: #include int main() { int n,m; scanf("%d",&n); int a[n]; int …… 题解列表 2019年10月29日 0 点赞 0 评论 701 浏览 评分:0.0
[编程入门]数字的处理与判断-题解(C语言代码) 摘要:```c ```c #include int main() { int x,t,t1; int b=10000; int count=1; scanf("%d",&x); …… 题解列表 2019年10月29日 0 点赞 0 评论 1159 浏览 评分:0.0