1302: 棋盘覆盖 摘要:```cpp #include #include int n,m,x[4]={0,0,1,-1},y[4]={-1,1,0,0},link[10201],head[10201],cnt; bo…… 题解列表 2023年04月22日 0 点赞 0 评论 513 浏览 评分:9.9
1303: 统计数字 摘要:```cpp #include using namespace std; int a[500001],n,ans=1; void qs(int l,int r) { int m=a…… 题解列表 2023年04月22日 0 点赞 0 评论 501 浏览 评分:9.9
1304: 阶乘后K位 摘要:```cpp #include using namespace std; int main() { long long pro=1; int i,j,n,k; c…… 题解列表 2023年04月22日 0 点赞 0 评论 535 浏览 评分: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 评论 458 浏览 评分: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 评论 480 浏览 评分:9.9
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) { Scanner sc = new …… 题解列表 2023年04月22日 0 点赞 0 评论 386 浏览 评分:0.0
矩形总面积 暴力 or 数学 摘要: 题目思路: 先将两个矩形需要占的最大板块的左下角与右上角找出来,然后依次遍历这个板块被占领的地区 如图所示遍历情况是不会重复计算多层矩形覆盖的面积  {int a[10],i,j,temp; for(i=0; i<10; i++){ scanf…… 题解列表 2023年04月22日 0 点赞 0 评论 265 浏览 评分:0.0
2808: 买房子 摘要:for循环 ```java public class 买房子 { public static void main(String[] args) { Scanner sc…… 题解列表 2023年04月22日 0 点赞 0 评论 381 浏览 评分: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 评论 302 浏览 评分:9.9