利用区间合并的思想求解 摘要:解题思路: 将区间合并之后即可解决区间重合问题注意事项: 注意数据类型参考代码:#include<iostream>#include<algorithm>#include<vector>using n…… 题解列表 2023年09月23日 0 点赞 0 评论 212 浏览 评分:0.0
校门外的坤 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>int l,m,tree[10000000];using namespace std;int main(){ int…… 题解列表 2023年07月19日 0 点赞 0 评论 231 浏览 评分:0.0
1099: 校门外的树(勿看,半成品) 摘要:解题思路:#include <bits/stdc++.h>// using namespace std; int ji[10000000]; int main() { int l,m…… 题解列表 2023年07月19日 0 点赞 0 评论 166 浏览 评分:2.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int l,m,tree[10000000],s,e,sum=0;int main…… 题解列表 2023年07月19日 0 点赞 0 评论 409 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int l,m,su…… 题解列表 2023年07月19日 0 点赞 0 评论 234 浏览 评分:0.0
1099: 校门外的树(简单c++) 摘要:解题思路:1.#include <bits/stdc++.h> using namespace std; long long a[100000];//创造数组 int main() { …… 题解列表 2023年07月16日 0 点赞 0 评论 194 浏览 评分:9.9
【c++】校门外的树 统计数组和的技巧 摘要:解题思路:发现这道题以前在lg上面写过,就把代码放过来,顺便本蒟蒻水一篇题解。其实这道题我将有树的地方赋值为1,反则为0,这样可以通过把数组相加得到树的个数,有点巧妙。注意事项:虽然但是,如果时间要求…… 题解列表 2023年06月21日 0 点赞 0 评论 329 浏览 评分:9.9
校门外的数 摘要:```cpp #include #include using namespace std; int main() { int n,m; cin>>n>>m; int c[1000…… 题解列表 2023年05月01日 0 点赞 0 评论 222 浏览 评分:0.0
校门外的树(C++简单代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ long long L,M,sum=0,a[1000…… 题解列表 2023年03月16日 1 点赞 0 评论 224 浏览 评分:0.0
编写题解 1099: 校门外的树 摘要: #include #include #include #include #include #include using namesp…… 题解列表 2023年03月05日 0 点赞 0 评论 182 浏览 评分:0.0