优质题解 【偶数求和】 (C语言描述代码精简【公式法】) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int function(int n,int m); int main() { int n,m; while(sc…… 题解列表 2018年05月09日 7 点赞 1 评论 1847 浏览 评分:6.4
矩阵最大值 (C++代码)可AC 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h> using namespace std; int main(){ int m,n; while(cin>>n…… 题解列表 2018年08月09日 3 点赞 0 评论 1755 浏览 评分:6.4
核电站问题 (C语言代码) 摘要:解题思路:注意事项:参考代码://按树的思路//连续两个都建站 则第三个不能建 /* 0 &nbs 题解列表 2019年04月14日 1 点赞 0 评论 1730 浏览 评分:6.4
求10个数中大于其平均值的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i, n = 0; float sum = 0, p, a[10]; for(i = …… 题解列表 2019年04月15日 0 点赞 0 评论 1031 浏览 评分:6.4
数据结构-有向无环图的拓扑排序 (C语言代码) 摘要:解题思路:注意事项:样例可以通过参考代码:#include<iostream> #include<stack> using namespace std; #define ERROR -1 #d…… 题解列表 2019年04月29日 0 点赞 0 评论 1721 浏览 评分:6.4
数据结构-表达式求值-题解(C语言代码) 摘要: 解题思路:使用一个操作数栈和一个操作符栈,并为每一个操作符排一个优先级。在读取输入时,判断是数还是符,如果是符号,则获取操作符栈顶元素值,也就是操作符对应的数值,判断当前符号优先级是否大于…… 题解列表 2019年09月01日 0 点赞 0 评论 2524 浏览 评分:6.4
蓝桥杯2013年第四届真题-买不到的数目 (C++代码)by Zfans. 摘要:```cpp #include using namespace std; int main() { int a, b; cin >> a >> b; co…… 题解列表 2019年10月15日 0 点赞 0 评论 866 浏览 评分:6.4
【密码】-题解(C语言代码)AC代码 摘要:网上流传一句话:"常在网上飘啊,哪能不挨刀啊~"。其实要想能安安心心地上网其实也不难,学点安全知识就可以。 首先,我们就要设置一个安全的密码。那什么样的密码才叫安全的呢?一般来说一个比较安全的密码…… 题解列表 2019年11月26日 0 点赞 0 评论 1160 浏览 评分:6.4
蓝桥杯算法提高VIP-最大最小值-题解(C语言代码) 摘要: #include int main() { int n,i,max,min,x[10000]; scanf("%d",&n); for(…… 题解列表 2019年11月27日 0 点赞 0 评论 1059 浏览 评分:6.4
换位置-题解(C++代码)【简单】 摘要:### 换位置 ```cpp #include using namespace std; int main() { int n,m; cin>>n; whil…… 题解列表 2019年12月16日 3 点赞 1 评论 1762 浏览 评分:6.4