换一种思路来写用set中upper_bound()函数 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <set>using namespace std;typedef long long ll…… 题解列表 2025年03月20日 1 点赞 0 评论 140 浏览 评分:10.0
旧物有情 # 陶陶摘苹果 阅读理解,读懂了就很简单! 摘要:``` #include using namespace std; const int N =15; int a[N]; int main(){ //读取10个苹果到达地面的…… 题解列表 2024年10月17日 2 点赞 0 评论 243 浏览 评分:9.9
编写题解 1098: 陶陶摘苹果 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int a[10],tg,zd=0; for(int i=0;…… 题解列表 2024年06月16日 0 点赞 0 评论 198 浏览 评分:0.0
1098陶陶摘苹果(for循环遍历解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[15];//存苹果高度 int b;//存陶陶的高度 in…… 题解列表 2024年05月31日 0 点赞 0 评论 297 浏览 评分:0.0
C++ 编写题解 1098: 陶陶摘苹果 摘要:解题思路: 注意事项: 参考代码: #include<iostream>using namespace std;int main(){ int a[11],high,count=0; for (int…… 题解列表 2024年02月05日 0 点赞 0 评论 358 浏览 评分:9.9
陶陶摘苹果 摘要:解题思路:通过两个for循环来完成注意事项:参考代码:#include <iostream>using namespace std;int main() { int a[10]; for (int i…… 题解列表 2023年12月08日 0 点赞 0 评论 138 浏览 评分:0.0
题解 1098: 陶陶摘苹果 摘要: #include using namespace std; int a[20000],b,c,sum; int main(){ for(int i=0…… 题解列表 2023年11月28日 0 点赞 0 评论 245 浏览 评分:0.0
1098: 陶陶摘苹果 摘要:```cpp #include using namespace std; int h[10],a; int main(){ for( int i=1;i>h[i]; } cin>>…… 题解列表 2023年11月27日 0 点赞 0 评论 149 浏览 评分:0.0
我是菜狗。。。。。。。。。。。。 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int b; for(int i=0;i<10;…… 题解列表 2023年05月12日 0 点赞 0 评论 127 浏览 评分:0.0
简单又实用 摘要:解题思路:在已知的条件下,我们只需要一步一步去解析然后分解就可以完成这道题啦注意事项:参考代码:#include<iostream>using namespace std;int main(){ …… 题解列表 2023年05月01日 0 点赞 0 评论 324 浏览 评分:9.9