1306: 老管家的忠诚2 摘要:```cpp #include using namespace std; int num[100001]; struct node { int l,r,w; }tree[4000…… 题解列表 2023年04月22日 0 点赞 0 评论 535 浏览 评分:9.9
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = new …… 题解列表 2023年04月22日 0 点赞 0 评论 452 浏览 评分:0.0
矩形总面积 暴力 or 数学 摘要: 题目思路: 先将两个矩形需要占的最大板块的左下角与右上角找出来,然后依次遍历这个板块被占领的地区 如图所示遍历情况是不会重复计算多层矩形覆盖的面积  {int a[10],i,j,temp; for(i=0; i<10; i++){ scanf…… 题解列表 2023年04月22日 0 点赞 0 评论 317 浏览 评分:0.0
2808: 买房子 摘要:for循环 ```java public class 买房子 { public static void main(String[] args) { Scanner sc…… 题解列表 2023年04月22日 0 点赞 0 评论 439 浏览 评分:4.5
简单求和训练 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float a,b,c,sum=0; scanf("%f%f%f",&a,&b,&c); for…… 题解列表 2023年04月22日 0 点赞 0 评论 369 浏览 评分:9.9
自由下落的距离计算 摘要:解题思路:计算经过路程,下一次弹起高度注意事项:最后减去重复加的路程即可参考代码:#include<stdio.h>int main(){ float M,N,sum=0; scanf("…… 题解列表 2023年04月22日 0 点赞 0 评论 335 浏览 评分:9.9
矩阵加法—一个数组轻松解决(c) 摘要:```c #include int main() { int n,m; int arr[100][100] = { 0 }; scanf("%d%d", &n, &m); i…… 题解列表 2023年04月22日 0 点赞 0 评论 437 浏览 评分:9.9
221486416456185456 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; cout<<(int)pow(…… 题解列表 2023年04月22日 0 点赞 0 评论 573 浏览 评分:0.0
236521541468764184 摘要:解题思路:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,s,p; cin>>a>>b>>c; …… 题解列表 2023年04月22日 0 点赞 0 评论 325 浏览 评分:0.0