1304: 阶乘后K位 摘要:```cpp #include using namespace std; int main() { long long pro=1; int i,j,n,k; c…… 题解列表 2023年04月22日 0 点赞 0 评论 577 浏览 评分:9.9
1305: 老管家的忠诚 摘要:```cpp #include using namespace std; int divide(int *a,int *b,int low,int high) { int mid=a…… 题解列表 2023年04月22日 0 点赞 0 评论 499 浏览 评分:9.9
1306: 老管家的忠诚2 摘要:```cpp #include using namespace std; int num[100001]; struct node { int l,r,w; }tree[4000…… 题解列表 2023年04月22日 0 点赞 0 评论 514 浏览 评分:9.9
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = new …… 题解列表 2023年04月22日 0 点赞 0 评论 423 浏览 评分:0.0
矩形总面积 暴力 or 数学 摘要: 题目思路: 先将两个矩形需要占的最大板块的左下角与右上角找出来,然后依次遍历这个板块被占领的地区 如图所示遍历情况是不会重复计算多层矩形覆盖的面积  {int a[10],i,j,temp; for(i=0; i<10; i++){ scanf…… 题解列表 2023年04月22日 0 点赞 0 评论 295 浏览 评分:0.0
2808: 买房子 摘要:for循环 ```java public class 买房子 { public static void main(String[] args) { Scanner sc…… 题解列表 2023年04月22日 0 点赞 0 评论 414 浏览 评分: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 评论 345 浏览 评分:9.9
自由下落的距离计算 摘要:解题思路:计算经过路程,下一次弹起高度注意事项:最后减去重复加的路程即可参考代码:#include<stdio.h>int main(){ float M,N,sum=0; scanf("…… 题解列表 2023年04月22日 0 点赞 0 评论 313 浏览 评分: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 评论 410 浏览 评分:9.9