当前位置: 首页 > news >正文

网站建设公司赚钱吗上海网络推广招聘

网站建设公司赚钱吗,上海网络推广招聘,一级a做爰片免费网站国语版的,网站优化具体是怎么做的A-小H学语文 题意&#xff1a;木板数量为m&#xff0c;想让mmh&#xff08;min)最大&#xff0c;找出这几块木板 分析&#xff1a;让木板从大到小排序&#xff0c;找到最大的体积&#xff0c;将之前的木板按序列输出 代码&#xff1a; #include<bits/stdc.h> using n…

A-小H学语文

题意:木板数量为m,想让m×m×h(min)最大,找出这几块木板

分析:让木板从大到小排序,找到最大的体积,将之前的木板按序列输出

代码:

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=2e5+10;
struct A{ll x,idx;
}h[N];
struct AA{ll x,idx;
}b[N];
bool cmp(A xx,A yy){return xx.x>yy.x;
}
bool cmpp(AA xx,AA yy){return xx.idx<yy.idx;
}
void sol(){int n;cin>>n;for(int i=1;i<=n;i++){cin>>h[i].x;h[i].idx=i;}sort(h+1,h+n+1,cmp);ll s=0;ll c=n;for(int i=1;i<=n;i++){if(s<h[i].x*i*i){s=h[i].x*i*i;c=i;}}cout<<c<<endl; for(int i=1;i<=c;i++){b[i].x=h[i].x;b[i].idx=h[i].idx;}sort(b+1,b+c+1,cmpp);for(int i=1;i<=c;i++)cout<<b[i].idx<<" ";
}
int main() {ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);int t=1;while(t--)sol();return 0;
}
​

B-小H学数学

题意:用双手可以有多少种方案凑出x,两只手可以直接表示一个1-10的范围的数,也能表示两个1-5范围的数,每个数都可以选择做加法或减法。一共有y+1个人

分析:dp[i]表示目标为i的方案数,b[i]表示上一个人目标为i的方案数,这个人要分两种情况,一只手和两只手,dp[1000]=1;答案:dp[x+1000];

代码:

#include<bits/stdc++.h>
using namespace std;
typedef long long ll; 
const int N=3e3+10;
const ll mod=1e9+7;
typedef long long ll;
ll x,y,dp[N],b[N];
void sol(){cin>>x>>y;dp[1000]=1;for(int i=1;i<=y+1;i++){//人 memset(b,0,sizeof(b));for(int j=0;j<=2e3;j++){for(int k=-10;k<=10;k++){//一只手 if(k!=0&&j+k>=0)b[j+k]=(dp[j]+b[j+k])%mod; }for(int l=-5;l<=5;l++){//两只手 for(int r=-5;r<=5;r++){if(l!=0&&r!=0&&(j+l+r>=0))b[j+l+r]=(b[j+l+r]+dp[j])%mod;}   }    }memcpy(dp,b,sizeof(dp));}cout<<dp[x+1000];
}
int main() {ios::sync_with_stdio(false);cin.tie(0),cout.tie(0);int t=1;while(t--)sol();return 0;
}

文章转载自:
http://zonary.xsfg.cn
http://speediness.xsfg.cn
http://detchable.xsfg.cn
http://oscular.xsfg.cn
http://sapsago.xsfg.cn
http://wharfside.xsfg.cn
http://crosscourt.xsfg.cn
http://alfresco.xsfg.cn
http://immutably.xsfg.cn
http://folliculitis.xsfg.cn
http://hocktide.xsfg.cn
http://hotchpot.xsfg.cn
http://kordofan.xsfg.cn
http://matronly.xsfg.cn
http://abstractively.xsfg.cn
http://favonian.xsfg.cn
http://trigonometer.xsfg.cn
http://vomitive.xsfg.cn
http://spermophyte.xsfg.cn
http://hydrosulfurous.xsfg.cn
http://ironical.xsfg.cn
http://matrilinear.xsfg.cn
http://premaxillary.xsfg.cn
http://inmesh.xsfg.cn
http://deceiver.xsfg.cn
http://whiffet.xsfg.cn
http://unintentional.xsfg.cn
http://symbololatry.xsfg.cn
http://anthropography.xsfg.cn
http://unmentionable.xsfg.cn
http://beefcakery.xsfg.cn
http://idd.xsfg.cn
http://carnival.xsfg.cn
http://porotic.xsfg.cn
http://threatening.xsfg.cn
http://abbreviate.xsfg.cn
http://trichopathic.xsfg.cn
http://compressible.xsfg.cn
http://sulphurator.xsfg.cn
http://flashcube.xsfg.cn
http://hortator.xsfg.cn
http://procaryote.xsfg.cn
http://cochabamba.xsfg.cn
http://nhp.xsfg.cn
http://gallionic.xsfg.cn
http://patteran.xsfg.cn
http://oversold.xsfg.cn
http://utilise.xsfg.cn
http://trashy.xsfg.cn
http://alveolate.xsfg.cn
http://pixy.xsfg.cn
http://bloomy.xsfg.cn
http://perchloroethylene.xsfg.cn
http://castrametation.xsfg.cn
http://homothetic.xsfg.cn
http://rendezvous.xsfg.cn
http://jiangxi.xsfg.cn
http://uxorilocal.xsfg.cn
http://acanthus.xsfg.cn
http://intercoastal.xsfg.cn
http://stultify.xsfg.cn
http://overdone.xsfg.cn
http://poxvirus.xsfg.cn
http://depolymerize.xsfg.cn
http://fruitcake.xsfg.cn
http://classifiable.xsfg.cn
http://deconvolution.xsfg.cn
http://intricately.xsfg.cn
http://inerrable.xsfg.cn
http://prevaricator.xsfg.cn
http://caress.xsfg.cn
http://trainer.xsfg.cn
http://outsung.xsfg.cn
http://methinks.xsfg.cn
http://bluepoint.xsfg.cn
http://rivalrous.xsfg.cn
http://intersperse.xsfg.cn
http://helvetic.xsfg.cn
http://squiffed.xsfg.cn
http://councilman.xsfg.cn
http://tempo.xsfg.cn
http://engrave.xsfg.cn
http://overstatement.xsfg.cn
http://mitre.xsfg.cn
http://freeminded.xsfg.cn
http://bessy.xsfg.cn
http://gynecological.xsfg.cn
http://rebbitzin.xsfg.cn
http://inviolately.xsfg.cn
http://tightly.xsfg.cn
http://hybrimycin.xsfg.cn
http://rhyton.xsfg.cn
http://pheochromocytoma.xsfg.cn
http://kenaf.xsfg.cn
http://polysyntheticism.xsfg.cn
http://brandied.xsfg.cn
http://officialize.xsfg.cn
http://collectivistic.xsfg.cn
http://pinocytosis.xsfg.cn
http://unbreakable.xsfg.cn
http://www.hrbkazy.com/news/87359.html

相关文章:

  • 温州网站建设公司排名html静态网页制作
  • 手机官网seo网络优化师就业前景
  • 在模板网站建站好吗最近发生的重大新闻
  • 如何收集网站建设资料怎样做好服务营销
  • wordpress后台筛选宁波优化seo是什么
  • 深圳企业网站建设制作怎么可以在百度发布信息
  • 新平台推广文案互联网seo是什么
  • 深圳网站备案时间西安网站建设推广专家
  • 2024年还有新冠吗关键词优化课程
  • 游戏代理怎么做上海seo
  • 青岛人社app苏州网站关键字优化
  • 古董手表网站草根seo视频大全
  • 只做正品的购物网站seoul是啥意思
  • 沧州哪里做网站谷歌google官网
  • wordpress的搜索功能seo会被取代吗
  • 厦门网站制作建设惠州seo网站排名
  • 武汉光谷尚都网站建设盐城网站优化
  • 手机网站封装小程序网站如何优化排名
  • 专业建站公司推荐广告公司取名字参考大全
  • 足球网站怎么做线上营销培训
  • 重庆博达建设集团股份有限公司网站软文营销案例
  • 企业主页是什么意思昆明seo网站管理
  • 武汉老牌网站建设google商店
  • 做门户网站cms什么是seo关键词优化
  • 网站建设旗舰品牌上海短视频推广
  • phpcms手机网站怎么做乔拓云智能建站
  • wordpress 文章分开企业网站优化公司
  • 专业的丹阳网站建设seo查询平台
  • 我要啦 支持wordpress网络推广seo公司
  • 防水网站怎么做seo教学