摘要: //欧拉函数,质数 vector<int> euler_range(int n) { vector<int> phi(n + 1), prime; vector<bool> is_prime(n + 1, true); is_prime[1] = 0, phi[1] = 1; for (int i 阅读全文
posted @ 2023-11-30 17:48 Ke_scholar 阅读(17) 评论(0) 推荐(0) 编辑
摘要: KEYENCE Programming Contest 2023 Autumn(AtCoder Beginner Contest 325) - AtCoder E E - Our clients, please wait a moment (atcoder.jp)(分层图最短路) 因为只能从坐公司汽 阅读全文
posted @ 2023-11-30 01:52 Ke_scholar 阅读(6) 评论(0) 推荐(0) 编辑