河中跳房子#自作聪明的约翰 摘要:解题思路:步骤分析:1.不移除任何岩石时,岩石之间的跳跃距离分别是:最短跳跃距离是 3。从起点到岩石 2:2从岩石 2 到岩石 11:9从岩石 11 到岩石 14:3从岩石 14 到岩石 17:3从岩…… 题解列表 2024年12月29日 2 点赞 0 评论 208 浏览 评分:10.0
[信息学奥赛一本通T1247-河中跳房子] 二分答案 摘要:```cpp #include #define ULL unsigned long long #define LL long long #define endl '\n' #define d…… 题解列表 2024年10月13日 0 点赞 0 评论 222 浏览 评分:9.9
河中跳房子(C++) 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int L,N,M,a[10000];int f(int x){ int ans=0,t=0…… 题解列表 2024年02月08日 0 点赞 0 评论 151 浏览 评分:0.0
T1247-河中跳房子 摘要: ```c++ #include #include using namespace std; const int MAXN = 1e5 + 5; int l,n,m,dis…… 题解列表 2023年04月11日 0 点赞 1 评论 514 浏览 评分:9.3
信息学奥赛一本通T1247-河中跳房子(二分法) 摘要: #include #include using namespace std; typedef long long ll; const int…… 题解列表 2022年08月27日 0 点赞 0 评论 419 浏览 评分:8.6