摘要: #include <iostream> #include <cstdio> using namespace std; typedef long long ll; ll dp[1000005]; // 第i天为晴天的概率 ll mod = 998244353; ll mulMod(ll a, ll b 阅读全文
posted @ 2019-04-18 16:43 域Anton 阅读(197) 评论(0) 推荐(0)
摘要: //适用于正负整数 // 输入 template inline bool read(T &ret) { char c; int sgn; if(c = getchar(), c == EOF) return 0; while (c != '-' && (c '9')) c = getchar(); sgn = (c == '-') ? -1 : 1; r... 阅读全文
posted @ 2019-04-18 15:19 域Anton 阅读(161) 评论(0) 推荐(0)