利润计算,c++求解 ,if,elseif双分支解题 摘要:解题思路:注意事项:可能编译时会显示出错,尝试运行,若还错请将有y(x)函数并入main参考代码:#include<iostream>using namespace std;int y(int x)/…… 题解列表 2023年06月18日 0 点赞 0 评论 469 浏览 评分:0.0
1331: 新三国争霸 摘要:```cpp #include #include using namespace std; int n,m,t,v,k,x,y,p,k1,k2,fa[301],f[51],d[51][51];…… 题解列表 2023年06月17日 0 点赞 0 评论 854 浏览 评分:9.9
1329: 合并傻子 摘要:```cpp #include #include int max(int a,int b) { return a>b?a:b; } int min(int a,int b) {…… 题解列表 2023年06月17日 0 点赞 0 评论 590 浏览 评分:9.9
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >>…… 题解列表 2023年06月17日 0 点赞 0 评论 292 浏览 评分:0.0
感谢支持,谢谢你们的支持 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x; cin >>x; i…… 题解列表 2023年06月17日 0 点赞 0 评论 337 浏览 评分:0.0
不会链表,STL,就只能用这种笨方法咯 摘要:```cpp #include using namespace std; int a[100]={0}; //find()函数用来判断是否 "出圈" 结束 bool find(int *s,…… 题解列表 2023年06月15日 0 点赞 0 评论 363 浏览 评分:0.0
图一·乐6 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main(){ int n; cin >> n; int arr[100…… 题解列表 2023年06月15日 0 点赞 0 评论 310 浏览 评分:0.0
图一·乐5 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main(){ int n; cin >> n; int arr[100…… 题解列表 2023年06月15日 0 点赞 0 评论 342 浏览 评分:9.9
图一·乐4 摘要:解题思路:注意事项:参考代码:#include#includeusing namespace std;int main(){ int n; cin >> n; int arr[100…… 题解列表 2023年06月15日 1 点赞 0 评论 354 浏览 评分:0.0
更适合c++的奇偶排序 摘要:解题思路:两个数组,一个存储,一个变化注意事项:参考代码:#include <iostream>#include <algorithm>using namespace std;int main() {…… 题解列表 2023年06月15日 0 点赞 0 评论 388 浏览 评分:9.9