[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:### 话不多说直接上代码: #include #include #include void chuli(int m ,int n,int* num…… 题解列表 2019年06月22日 0 点赞 0 评论 1249 浏览 评分:0.0
[编程入门]报数问题-题解(C语言代码) 摘要: #include #include int main(){ int n; scanf("%d",&n); int *n…… 题解列表 2019年06月23日 0 点赞 0 评论 1012 浏览 评分:0.0
C语言三目运算符的使用 摘要:````c #include int MAX (int a,int b,int c); int main() { int a,b,c; scanf("%d %d %d",&…… 题解列表 2019年06月23日 0 点赞 0 评论 890 浏览 评分:0.0
C语言三目运算符的使用 摘要:```c #include int MAX (int a,int b,int c); int main() { int a,b,c; scanf("%d %d %d",&a…… 题解列表 2019年06月23日 0 点赞 0 评论 922 浏览 评分:0.0
蓝桥杯算法提高VIP-阶乘差-题解(C++代码) 摘要:注意测试数据过大,定义long long int 即可,用两个for循环分别求出n,m的阶乘在运算```cpp #include using namespace std; int main()…… 题解列表 2019年06月23日 0 点赞 0 评论 924 浏览 评分:0.0
二维数组的转置--直接明了好吧~ 摘要:## 写一个函数,使给定的一个3×3二维数组转置,即行列互换。 If you don't walk out, you will think that this is the whole worl…… 题解列表 2019年06月25日 0 点赞 0 评论 1468 浏览 评分:0.0
蓝桥杯算法提高VIP-复数求和-题解(C语言代码) 摘要: #include #include #include //定义结构体 typedef struct linklist { int re ;//实部 in…… 题解列表 2019年06月25日 0 点赞 0 评论 1186 浏览 评分:0.0
Minesweeper -(用队列,bfs) 摘要:#### 解题思路: 宽度优先搜索(bfs)按照开始状态由近及远的顺序进行搜索,因此本题中我们可以采用该方法来求解。 ------------ 1. 本题中,状态仅仅是目前所在位置的坐标…… 题解列表 2019年06月25日 0 点赞 0 评论 753 浏览 评分:0.0
龟龟和兔兔的嬉戏追赶 摘要:首先题目没说清楚兔子在休息完之后,如果乌龟依旧在兔子的 t 米后面的话,是继续判断条件让乌龟走 s 秒,还是无条件的兔子走多一次。 其实经过测试,题目的测试样例是继续判断条件让乌龟走…… 题解列表 2019年06月26日 1 点赞 0 评论 946 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C++代码) 摘要:```cpp #include using namespace std; vector a,b; int n,m,c; int main() { cin>>n; for(int …… 题解列表 2019年06月26日 0 点赞 0 评论 758 浏览 评分:0.0