随笔分类 -  ACM - 动态规划 - 期望dp

摘要:扑克牌 - 期望dp https://www.acwing.com/problem/content/220/ #include <bits/stdc++.h> using namespace std; const int N = 20, inf = 1e9; double f[N][N][N][N] 阅读全文
posted @ 2023-04-04 14:35 Sakana~ 阅读(15) 评论(0) 推荐(0) 编辑
摘要:AtCoder Beginner Contest 144 https://atcoder.jp/contests/abc144 补一下3.23做的。 D - Water Bottle 分类讨论,三角函数。 #include <bits/stdc++.h> #define pi acos (-1) u 阅读全文
posted @ 2023-04-02 18:49 Sakana~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要:AtCoder Beginner Contest 280 A-GAtCoder Beginner Contest 280 A-G https://atcoder.jp/contests/abc280 个人认为D >> E,F 被D搞心态了,导致EF都没看() A - Pawn on a Grid 统计#的个数 #include <bits/stdc++.h> u 阅读全文
posted @ 2022-12-04 20:54 Sakana~ 阅读(207) 评论(1) 推荐(1) 编辑
摘要:AtCoder Beginner Contest 266   A-Gabc 阅读全文
posted @ 2022-08-28 00:40 Sakana~ 阅读(242) 评论(0) 推荐(1) 编辑
摘要:LINE Verda Programming Contest(AtCoder Beginner Contest 263) https://atcoder.jp/contests/abc263 G 待补 A - Full House 输入5个数,判断是否满足两个数相等,另外三个数相等 #include 阅读全文
posted @ 2022-08-07 10:43 Sakana~ 阅读(119) 评论(0) 推荐(1) 编辑

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