poj 1285
摘要:
题意在一组数中选择若干个数的情况。有20个数:1 1 1 2 2 2 2 3 3 4 4 4 4 4 4 5 6 7 8 9选2只有有40种情况当开始想错了,咳!#include<iostream>#include<fstream>using namespace std;int n,m;long long dp[51][51];int num[51];void read(){// ifstream cin("in.txt"); int i,j,k; int K; int ans=0; while(1) { cin>>n>>m; 阅读全文
posted @ 2011-02-26 16:46 宇宙吾心 阅读(308) 评论(0) 推荐(0)
浙公网安备 33010602011771号