可AC (C语言代码) 摘要:解题思路: 杨辉三角的模型 . 注意事项: 输入n,输出n+1行; 主要注意输出格式. 参考代码: #include<stdio.h> int main() { i…… 题解列表 2018年07月26日 1 点赞 0 评论 1628 浏览 评分:9.9
可 ( AC ) (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { int n, i, j; while (…… 题解列表 2018年07月28日 4 点赞 3 评论 665 浏览 评分:9.9
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<stdlib.h> typedef struct stu { char name[25…… 题解列表 2018年07月30日 1 点赞 1 评论 419 浏览 评分:9.9
可AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> int main() { unsigned int a, m, sum…… 题解列表 2018年07月31日 3 点赞 1 评论 1047 浏览 评分:9.9
可 AC (C语言代码) 摘要:解题思路: 注意事项: 参考代码: #include<stdio.h> #include<math.h> void move(unsigned int value,int n)…… 题解列表 2018年07月31日 2 点赞 1 评论 818 浏览 评分:9.9
众数问题 (C语言代码) 摘要:解题思路:首先,定义结构体数组S,其中的元素不仅有值,还有该值在S中出现的次数。对于输入的每个自然数s,若其值在S中出现过,就令其出现的次数加1,若出现的次数比已知最大的重数多,就更新当前最大的重数;…… 题解列表 2018年07月31日 3 点赞 0 评论 2319 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题5.4 (C语言代码) 摘要:解题思路:首先是考虑到的是三个整数,所以a,b,c的类型定义为int;其次考虑到这三个整数是通过键盘输入的,所以使用到scanf("%d%d%d",&a,&b,&c);函数。一定不能漏了&,因为是整数…… 题解列表 2018年07月31日 0 点赞 4 评论 2631 浏览 评分:9.9
蓝桥杯算法训练VIP-输出米字形 (C++代码) 摘要:解题思路:绘制左上角的1/4图案,同时从这个1/4复制到其它3/4的对应位置上.注意事项:参考代码:#include<bits/stdc++.h>using namespace std;char a[…… 题解列表 2018年08月01日 0 点赞 0 评论 1822 浏览 评分:9.9
优质题解 momoc-数据结构-双向循环链表 附带超详细题解 摘要:解题思路:双链表插入过程 以下介绍的是头插法截取双向链表某一段在p 后面插入元素 s假如p->next指向下一个元素x注意:先把后元素连接 再将前元素连接第一步:(这一步千万不要倒过来 否…… 题解列表 2018年08月01日 11 点赞 0 评论 1586 浏览 评分:9.9
半数集问题 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int main() { int n; while (cin…… 题解列表 2018年09月15日 2 点赞 0 评论 681 浏览 评分:9.9