摘要:
#include <string.h>#include <stdio.h>#include <iostream>using namespace std;int dp[4050];int main(){ int n,a,b,c; while(cin >> n >> a >> b >> c) { memset(dp,-1,sizeof(dp)); dp[a]=1;dp[b]=1;dp[c]=1; for(int i=1;i<=n;i++) { if(i-a>0 && dp[i-a]!=- 阅读全文
posted @ 2012-05-14 12:44
Eric.cpp
阅读(309)
评论(0)
推荐(0)
浙公网安备 33010602011771号