摘要:
#includeint main(){ long long int x; while(~scanf("%lld",&x)) { if(x%2==0) printf("0 0\n"); else printf("2 %lld\n",x+2)... 阅读全文
摘要:
#include#include#includeusing namespace std;int dp[35000];int main(){ int i,j,n; memset(dp,0,sizeof(dp)); dp[0]=1; for(i=1;i<=3;i+... 阅读全文
摘要:
#include#include#includeusing namespace std;int main(){ int _,n,dp[10000+5],i,j,a[5]; a[1]=150; a[2]=200; a[3]=350; memset(dp,0... 阅读全文
摘要:
#include#include#includeusing namespace std;int main(){ int n,m,i,j,w[10000+5]; double k[10000+5],dp[10000+5]; while(~scanf("%d%d",&n... 阅读全文