摘要:
https://www.luogu.com.cn/problem/P8984 把题意变成人话。 构造一个 DAG,满足: 只存在 \(u<v\) 的 \(u\to v\) 边。 对于所有 \(i\) 都存在 \(i\to i+1\) 的边。 对于所有边 \((u,v)\),要么 \(u+1=v\), 阅读全文
posted @ 2026-04-28 22:46
TallBanana
阅读(2)
评论(0)
推荐(0)
摘要:
https://www.luogu.com.cn/problem/P5519 改一下: \(f(x,y)=2^{g_{x,y}}\),其中: \[g_{x,y}= \begin{cases} 0 & x=0\\ x & x\le 42,y=0\\ \sum_{i=1}^{42} ig_{x-i,0} 阅读全文
posted @ 2026-04-28 11:36
TallBanana
阅读(1)
评论(0)
推荐(0)
浙公网安备 33010602011771号