Live2D
摘要: \(\mathscr{Description}\) Link. 求 \(S\subseteq\{1,2,\dots,n\}\),使得 \(\prod_{i\in S}i\) 是完全平方数,并最大化 \(|S|\)。 \(n\le10^6\)。 \(\mathscr{Solution}\) 爆搜打出 阅读全文
posted @ 2022-01-15 16:49 Rainybunny 阅读(89) 评论(0) 推荐(0)
摘要: \(\mathscr{Description}\) Link. 给定两棵含 \(n\) 个结点的树 \(T_1=(V_1,E_1),T_2=(V_2,E_2)\),求一个双射 \(\varphi:V_1\rightarrow V_2\),使得 \(\forall (u,v)\in V_1^2,~(u 阅读全文
posted @ 2022-01-15 11:22 Rainybunny 阅读(102) 评论(0) 推荐(0)