摘要:
$\mathcal Link. 给定正整数集合 \(\{a_n\}\),求一种把这些数放置在任意多个圆环上的方案,使得每个环的大小大于 $2$ 且环上相邻两数之和是素数。 \(n\le200\),$2\le a_i\le10^4$。 $\mathcal 这题怎么也黑了呢 qwq…… 考虑到 $2\l 阅读全文
posted @ 2020-08-01 08:40
Rainybunny
阅读(128)
评论(0)
推荐(0)
摘要:
$\mathcal Link. 给定 \(n\) 个点 \(m\) 条边的无向图,判断是否有给每条边定向的方案,使得 \(q\) 组有序点对 \((s,t)\) 都有 \(s\) 可达 \(t\)。 \(n,m,q\le2\times10^5\)。 $\mathcal 首先,对于原图中的边双,显然是 阅读全文
posted @ 2020-08-01 08:21
Rainybunny
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号