首页 > 中奖的概率
头像 诗云panther
发表于 2021-08-12 17:53:19
const int mod =1000000007;const int M =2e5+7;typedef long long ll;ll qpow(ll a,ll b){ ll ans=1; while(b){ if(b&1)ans=ansa%mod; 展开全文
头像 旭日东升BJFU
发表于 2020-12-22 21:19:18
高级场ABC题解 A 牛牛浇树用前缀和快速维护区间和,最后算奇偶性即可。 const int M =2e5+7; class Solution { public: /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * 返回m天后高度为 展开全文

等你来战

查看全部