Loading

摘要: A - I Count Two Three 题意 给定\(n\),求第一个\(\ge n\)的数\(k\),且\(k=2^a3^b5^c7^d\)。 思路 考虑到样例很多,直接打表存入set省去数组排序操作,由于\(n\le 10^9\),所以只需要打到\(10^9\)后二分即可。(记得加上快读快写 阅读全文
posted @ 2024-09-10 22:46 _SeiI 阅读(35) 评论(0) 推荐(0)