摘要: E - Sugoroku 3 ###关键 其实也就是正常的投色子问题,从后面转移到前面,只是需要用一个后缀和进行优化,懂期望dp后还是挺好写的。 ###代码 #include <bits/stdc++.h> using namespace std; const int M=2e5+5; #defin 阅读全文
posted @ 2023-01-11 20:41 basicecho 阅读(28) 评论(0) 推荐(0)
摘要: 全概率公式 阅读全文
posted @ 2023-01-11 19:46 basicecho 阅读(21) 评论(0) 推荐(0)
摘要: The Human Equation ###关键 赛后随便猜了一下,竟然过了。只能说当时还是太急了,毕竟对E多少有点害怕。 不行,以后要到能出E的水平 ###代码 #include <bits/stdc++.h> using namespace std; #define int long long 阅读全文
posted @ 2023-01-11 10:00 basicecho 阅读(24) 评论(0) 推荐(0)