C语言训练-"水仙花数"问题2-题解(C++代码) 摘要:解题思路:。。。。。。。注意事项:???????参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; …… 题解列表 2020年08月11日 0 点赞 0 评论 996 浏览 评分:9.9
二级C语言-温度转换-题解(C++代码) 摘要:解题思路:用scanf,printf;注意事项:5*(f-32)/9一定要这样写!!!!!!!!!!!!!参考代码:#include <bits/stdc++.h>using namespace st…… 题解列表 2020年08月12日 0 点赞 2 评论 2272 浏览 评分: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 评论 1265 浏览 评分:9.9
字符逆序-题解(C++代码) 摘要:解题思路:注意事项: 输入字符串,里面有空格。。。gets()函数走起参考代码:#include<bits/stdc++.h> using namespace std; int main…… 题解列表 2020年08月13日 0 点赞 0 评论 1122 浏览 评分:9.9
字符串输入输出函数-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; string a, b; int main(){ pri…… 题解列表 2020年08月13日 0 点赞 0 评论 641 浏览 评分:9.9
蓝桥杯算法提高VIP-剪刀石头布-题解(C++代码) 摘要:解题思路: 用不用枚举类型均可!注意事项:参考代码:#include<bits/stdc++.h> //使用枚举 using namespace std; int main(){ …… 题解列表 2020年08月13日 0 点赞 1 评论 1144 浏览 评分:9.9
蓝桥杯算法提高VIP-Quadratic Equation-题解(C++代码)超详细注释 摘要:解题思路: 召唤韦达定理!注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { double a, …… 题解列表 2020年08月13日 0 点赞 0 评论 1159 浏览 评分:9.9
蓝桥杯算法提高VIP-交换Easy-题解(C++代码)超详细注释 摘要:解题思路: 巧妙的数字转下标,下标转数字参考代码:#include<bits/stdc++.h> using namespace std; int main() { int a…… 题解列表 2020年08月13日 0 点赞 0 评论 748 浏览 评分:9.9
蓝桥杯算法提高VIP-种树-题解(C++代码)-dfs实现 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int a[1001]; //记录价值 int site[1001]; //记录位置是否栽树,…… 题解列表 2020年08月13日 0 点赞 0 评论 1452 浏览 评分:9.9
[编程基础]输入输出练习之精度控制2-题解(C语言代码) 摘要:参考代码:#include<stdio.h>int main(){double a;scanf("%lf",&a);printf("%0.12lf",a); return 0;}…… 题解列表 2020年08月13日 0 点赞 0 评论 1580 浏览 评分:9.9