摘要: T1 \(n \le 20 ,m \le n!\) 这道题可以证明一定有解,我们每次找出 比我们要凑成的数小且是n!的约数 里最大的数就可以了。跑得飞快~ #include<iostream> #include<cstring> #include<cstdio> #define LL long lo 阅读全文
posted @ 2020-01-17 19:40 wljss 阅读(194) 评论(2) 推荐(0) 编辑