题解 1099: 校门外的树 摘要:解题思路:注意事项:参考代码:l,m=map(int,input().split())x=[]for i in range(0,m): a,b=map(int,input().split()) …… 题解列表 2024年03月26日 0 点赞 0 评论 224 浏览 评分:0.0
代码简单,好理解,小白思想(校门外的树) 摘要:解题思路:运用c++fill函数统计即可,注意fill(a,b,1)是左闭右开,【a,b),并且树是从零开始注意事项:参考代码:#include<bits/stdc++.h>using namespa…… 题解列表 2024年04月14日 0 点赞 0 评论 215 浏览 评分:0.0
题解 1099: 校门外的树 摘要:解题思路:e……注意事项:注意事项:注意事项:别抄我的,抄我的人我诅咒他电脑10秒关机参考代码:#include<bits/stdc++.h>using namespace std;int i,j,k…… 题解列表 2024年04月21日 0 点赞 0 评论 230 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;typedef long long ll;const ll N=1e5;//太大会爆ll a…… 题解列表 2024年04月22日 0 点赞 0 评论 234 浏览 评分:0.0
1099校门外的树(数组解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int m;//马路长度 int n;//组数 cin >> m >>…… 题解列表 2024年05月31日 0 点赞 0 评论 243 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int L,M; int start,end; scanf("%d %d",&L,&M); …… 题解列表 2024年07月17日 0 点赞 0 评论 157 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:使用了列表计数器,来对用到的树进行标记注意事项:参考代码:l,m=map(int,input().strip().split())lis = [i for i in range(l+1)]f…… 题解列表 2024年07月31日 0 点赞 0 评论 304 浏览 评分:0.0
校门外的树 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define SIZE 10001 void cal(int start, int end, int length_tree[SIZ…… 题解列表 2024年10月09日 0 点赞 0 评论 232 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:不要重复区域就行了注意事项:参考代码:#include<stdio.h>int main(){ int m,l,i; scanf("%d",&l); int arr[l+1…… 题解列表 2024年10月25日 1 点赞 0 评论 403 浏览 评分:0.0
1099: 校门外的树 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int L,M; cin>>L>>M; …… 题解列表 2024年11月07日 1 点赞 0 评论 330 浏览 评分:0.0