随笔分类 -  数学

摘要:#include #include using namespace std;int dp[50];int main(){ int n,m; while(1) { scanf("%d%d",&n,&m); if(n==0&&m==0) break; ... 阅读全文
posted @ 2014-08-13 20:23 贝尔摩德 阅读(116) 评论(0) 推荐(0)
摘要:分类讨论,看分成两堆两边的个数。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 __int64 a[3][3][3]; 8 __int64 f[4],n,k,tep; 9 10 int main... 阅读全文
posted @ 2014-07-10 16:14 贝尔摩德 阅读(216) 评论(0) 推荐(0)