联合会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
forleaves
博客园
首页
新随笔
联系
订阅
管理
随笔 - 26
文章 - 0
评论 - 5
阅读 -
3247
05 2023 档案
Educational Codeforces Round 149 (Rated for Div. 2)(A~F)
摘要:A. Grasshopper on a Line 题意:给出n,k,从0开始,每次可以加一个数,最快到达n需要,输出首先跳几次,然后每次跳多少,限制只有一个跳的长度不能整除k。 分析:n%k,有余直接跳,没余数,先跳一个,再跳剩余的长度。 代码: ``` #include #include #inc
阅读全文
posted @
2023-05-26 22:43
forleaves
阅读(127)
评论(0)
推荐(0)
编辑
公告
昵称:
forleaves
园龄:
3年7个月
粉丝:
9
关注:
5
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
cf比赛(15)
随笔档案
2024年8月(2)
2024年6月(1)
2023年12月(2)
2023年7月(1)
2023年5月(1)
2022年2月(6)
2021年9月(6)
2021年8月(7)
阅读排行榜
1. Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2)A~F(405)
2. 计算机网络第三章数据链路层(364)
3. 计算机网络第四章网络层(310)
4. Codeforces Round #744 (Div. 3)(A~G)(225)
5. 计算机网络第六章应用层(208)
评论排行榜
1. Codeforces Round #742 (Div. 2) A~F(4)
2. Codeforces Round #740 (Div. 2)A~E(1)
推荐排行榜
1. Codeforces Round 913 (Div. 3)(A~G)(1)
2. Codeforces Round #744 (Div. 3)(A~G)(1)
3. Educational Codeforces Round 113 (Rated for Div. 2)A~E(1)
4. Codeforces Round #742 (Div. 2) A~F(1)
5. Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2)A~F(1)
最新评论
1. Re:Codeforces Round #742 (Div. 2) A~F
@嘿!鱼骨头 确实,一直在跟y总学习,学了两年,不过确实没注意到这个hh...
--forleaves
2. Re:Codeforces Round #742 (Div. 2) A~F
#define x first #define y second typedef long long ll; typedef pair<int, int> PII; 这些都是y总常用的 还有头文件比较...
--嘿!鱼骨头
3. Re:Codeforces Round #742 (Div. 2) A~F
@嘿!鱼骨头 ?这怎么看得出来...
--forleaves
4. Re:Codeforces Round #742 (Div. 2) A~F
Acwing用户?
--嘿!鱼骨头
5. Re:Codeforces Round #740 (Div. 2)A~E
大佬tql,Orz
--fjbq
点击右上角即可分享