蓝桥杯入门训练-Fibonacci数列-题解(C++代码)通项公式 摘要:解题思路:在已知求数列,且能得出通项公式的情况下,可以直接获得结果 ```math A_n=\frac{1}{\sqrt{5}}[(\frac{(1+\sqrt{5})}{2})^n-(\frac…… 题解列表 2020年08月10日 0 点赞 0 评论 780 浏览 评分:9.9
数据结构-双向循环链表-题解(C语言代码) 摘要:```c #include #include struct X { struct X* last; int A; struct X* next; }*begin=NULL,*Ne…… 题解列表 2020年08月10日 0 点赞 0 评论 1068 浏览 评分:9.9
[编程入门]第一个HelloWorld程序!-题解(C语言代码) 摘要:解题思路:应该是初学C语言的第一道题吧,也比较简单,看过helloworld,照猫画虎的用printf就可以了注意事项:需要注意几个问题:1.*号必须一个不能多也不能少!2.注意格式、换行问题等基本上…… 题解列表 2020年08月11日 0 点赞 5 评论 782 浏览 评分:9.9
蓝桥杯2015年第六届真题-穿越雷区-题解(C语言代码) 摘要:#include <stdio.h> int b[110][110],n,step=100000; char a[110][110]; int dx[4]={0,1,-1,0}; int dy…… 题解列表 2020年08月11日 0 点赞 0 评论 1475 浏览 评分:9.9
蓝桥杯2013年第四届真题-剪格子-题解(C++代码)--笔记 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int m, n; int result = INT_MAX; int a[11][11];…… 题解列表 2020年08月11日 0 点赞 1 评论 1764 浏览 评分:9.9
C语言训练-"水仙花数"问题2-题解(C++代码) 摘要:解题思路:。。。。。。。注意事项:???????参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; …… 题解列表 2020年08月11日 0 点赞 0 评论 969 浏览 评分:9.9
二级C语言-温度转换-题解(C++代码) 摘要:解题思路:用scanf,printf;注意事项:5*(f-32)/9一定要这样写!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace st…… 题解列表 2020年08月12日 0 点赞 2 评论 2241 浏览 评分:9.9
蛇行矩阵-题解(C++代码)超详细注释 摘要:解题思路: 定义一个for循环,用语句a[i+1][0]=a[i][0]+i+1;来得出每一列的数字,但不输出, 再用一个for循环用语句a[i][j+1]=a[i][j]+j+i+2; …… 题解列表 2020年08月13日 0 点赞 0 评论 1178 浏览 评分:9.9
字符逆序-题解(C++代码) 摘要:解题思路:注意事项: 输入字符串,里面有空格。。。gets()函数走起参考代码:#include<bits/stdc++.h> using namespace std; int main…… 题解列表 2020年08月13日 0 点赞 0 评论 1064 浏览 评分:9.9
字符串输入输出函数-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string a, b; int main(){ pri…… 题解列表 2020年08月13日 0 点赞 0 评论 607 浏览 评分:9.9