题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r; cin>>h>>r; …… 题解列表 2023年12月02日 0 点赞 0 评论 293 浏览 评分:2.0
编写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r; cin>>h>>r; …… 题解列表 2023年12月03日 0 点赞 0 评论 267 浏览 评分:2.0
2806人口增长问题题解(c++) 摘要:#include using namespace std; int main(){ int b; double a; cin>>a>>b; for(int i=1;i…… 题解列表 2023年12月04日 0 点赞 0 评论 347 浏览 评分:2.0
1031: [编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> //strlen求字符串长度是要用int main(){ char c[1005]; gets(…… 题解列表 2023年12月04日 0 点赞 0 评论 268 浏览 评分:2.0
计算鞍点——使用三个列表 摘要:解题思路:一个列表放每一行的最大值,一个列表放这一行最大数值的列数,一个放每一列的最小值。然后判断这一行的最大值与最大值所在列数的最小值是否相等,相等的话输出行列数。注意事项:参考代码:a = [li…… 题解列表 2023年12月05日 0 点赞 0 评论 347 浏览 评分:2.0
题解 2907: 不与最大数相同的数字之和 摘要: #include using namespace std; int a[110]; int main() { int n,t=-1e9; …… 题解列表 2023年12月05日 0 点赞 0 评论 302 浏览 评分:2.0
写题解 2903: 不高兴的津津 摘要: #include using namespace std; int a[10],b[10],c[10],d,day; int main(){ for(…… 题解列表 2023年12月06日 0 点赞 0 评论 330 浏览 评分:2.0
题解 2773: 计算线段长度 摘要:解题思路:自行抄题解注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb,a,…… 题解列表 2023年12月08日 0 点赞 0 评论 301 浏览 评分:2.0
车厢调度(python) 摘要:解题思路:注意事项:参考代码:def trainSchedule(n, order): stack = [] next_car = 1 for car in order: …… 题解列表 2023年12月17日 0 点赞 0 评论 413 浏览 评分:2.0
2878: 计算矩阵边缘元素之和 摘要:``` #include using namespace std; const int N=110; int a[N][N]; int main(){ int n,m,sum=0; …… 题解列表 2023年12月18日 0 点赞 0 评论 232 浏览 评分:2.0