随笔分类 - 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]
阅读全文
摘要:AtCoder Beginner Contest 144 https://atcoder.jp/contests/abc144 补一下3.23做的。 D - Water Bottle 分类讨论,三角函数。 #include <bits/stdc++.h> #define pi acos (-1) u
阅读全文
摘要:
AtCoder 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
阅读全文

摘要:
abc
阅读全文

摘要:LINE Verda Programming Contest(AtCoder Beginner Contest 263) https://atcoder.jp/contests/abc263 G 待补 A - Full House 输入5个数,判断是否满足两个数相等,另外三个数相等 #include
阅读全文