随笔分类 -  ACM - 字符串

摘要:AtCoder Beginner Contest 150 https://atcoder.jp/contests/abc150 def都蛮不错的 D - Semi Common Multiple 先推一下:$x=a_i\times(p+0.5)\rightarrow x=\frac{a_i}2(2p 阅读全文
posted @ 2023-03-31 15:40 Sakana~ 阅读(61) 评论(0) 推荐(0) 编辑
摘要:AtCoder Beginner Contest 138 https://atcoder.jp/contests/abc138 今天做的,f非常有意思,状态设计很巧妙,是限定范围内的数位dp;e还不知道为什么错,感觉思路没问题。 A - Red or Not #include <bits/stdc+ 阅读全文
posted @ 2023-02-22 21:31 Sakana~ 阅读(42) 评论(0) 推荐(0) 编辑
摘要:AtCoder Beginner Contest 284 A-F https://atcoder.jp/contests/abc284 被D卡了,感觉十分的弱智。 GEx看不懂题解( A - Sequence of Strings #include <bits/stdc++.h> using nam 阅读全文
posted @ 2023-01-08 17:12 Sakana~ 阅读(217) 评论(2) 推荐(1) 编辑
摘要:AcWing 158. 项链  (最小表示法) 最小表示法例题 阅读全文
posted @ 2022-03-22 16:27 Sakana~ 阅读(29) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示