poj1952专题

poj1952 BUY LOW, BUY LOWER

求不重复个数好难 #include<iostream>#include<cstring>#include<cstdio>using namespace std;int a[5005],f[5005],count[5005];int main(){int n;int i,j;while(scanf("%d",&n)!=EOF){for(i=0;i<n;i++){count[i]=1;f[