CodeForces - 55D Beautiful numbers
#include
#include
using namespace std;
typedef long long LL;
const int MAXLEN = 20;
const int mod = 2520;
int digit[MAXLEN], t, has[mod+10];
LL ,a, b,dp[MAXLEN][mod][50]; // 数位长度,mod, lcm
// lcm虽然
原创
2017-05-22 21:38:46 ·
265 阅读 ·
0 评论