POJ1338~~~~~~醜數(經典dp)

#include<iostream> #include<cstring> #include<cstdio> #include<algorithm> using namespace std; int a[1510]; void s() { int num2 = 1, num3 = 1, num4 = 1; a[1] = 1; for (int i = 2; i <= 1500; i++) {
相關文章
相關標籤/搜索