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

网站开发任务书模板做代理

网站开发任务书模板,做代理,网站后台不更新,网站如何做词A~D签到题#xff0c;E稍微用点脑子?F经典分治题#xff08;lyd蓝书的袭击#xff09;反正分治算就行了复杂度2个log#xff08;用个归并能到1个log#xff09; A - hello world #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2…A~D签到题E稍微用点脑子?F经典分治题lyd蓝书的袭击反正分治算就行了复杂度2个log用个归并能到1个log A - hello world #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2) #includeset #includemap #includecmath #includequeue #includestring #includevector #includecstdio #includecstring #includeiostream #includealgorithm #includeunordered_map using namespace std; typedef long long ll; typedef pairint,int pii; int main() {IO;int T1;//cinT;while(T--){coutifmmp!xpsme\n;}return 0; }B - 挂科 #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2) #includeset #includemap #includecmath #includequeue #includestring #includevector #includecstdio #includecstring #includeiostream #includealgorithm #includeunordered_map using namespace std; typedef long long ll; typedef pairint,int pii; int main() {IO;int T1;//cinT;while(T--){int n,x,y;cinnxy;coutmin(x,y) max(xy-n,0)\n;}return 0; }C - ab #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2) #includeset #includemap #includecmath #includequeue #includestring #includevector #includecstdio #includecstring #includeiostream #includealgorithm #includeunordered_map using namespace std; typedef long long ll; typedef pairint,int pii; int main() {IO;int T1;//cinT;while(T--){int a,b;cinab;couthexab;}return 0; }D - 数组的和 #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2) #includeset #includemap #includecmath #includequeue #includestring #includevector #includecstdio #includecstring #includeiostream #includealgorithm #includeunordered_map using namespace std; typedef long long ll; typedef pairint,int pii; const int N200010; ll a[N]; ll s[N]; int n,k; int main() {IO;int T1;//cinT;while(T--){cinnk;ll res1e18;for(int i1;in;i) {cina[i];s[i]s[i-1]a[i];}for(int i1;in;i){int jik-1;if(jn)resmin(res,s[i-1]s[n]-s[ik-1]);}coutres\n;}return 0; }E - 异或 #define IO ios::sync_with_stdio(false);cin.tie();cout.tie(0) #pragma GCC optimize(2) #includeset #includemap #includecmath #includequeue #includestring #includevector #includecstdio #includecstring #includeiostream #includealgorithm #includeunordered_map using namespace std; typedef long long ll; typedef pairint,int pii; const int N200010; ll a[N]; int p[N]; int main() {IO;int T1;//cinT;while(T--){int n,q;ll now0;cinnq;while(q--){int k,v;cinkv;if(kn) p[k]^v;int cntn/k;if(cnt1) now^v;coutnow\n;}for(int i1;in;i)if(p[i])for(int ji;jn;ji)a[j]^p[i];for(int i1;in;i)couta[i] ;}return 0; }F - 最近的两个点 #includebits/stdc.husing namespace std; typedef long long ll; typedef pairint,int pii; const int N100010; int n; struct node {double x,y,z; }p[N],tmp[N]; bool cmpx(node a,node b) {return a.xb.x; } bool cmpy(node a,node b) {return a.yb.y; } double dis(node a,node b) {double dxa.x-b.x;double dya.y-b.y;double dza.z-b.z;return sqrt(dx*dxdy*dydz*dz); } double solve(int l,int r) {if(lr) return 1e10;int midlr1;double flagp[mid].x;double resmin(solve(l,mid),solve(mid1,r));//sort(pl,pr1,cmpy);// 归并这一步能够少一个loginplace_merge(pl,pmid1,pr1,cmpy); // 归并排序int k0;for(int il;ir;i)if(p[i].xflag-resp[i].xflagres)tmp[k]p[i];// 经证明下面操作复杂度线性for(int i1;ik;i)for(int ji-1;jtmp[i].y-tmp[j].yresabs(tmp[i].z-tmp[j].z)res;j--)resmin(res,dis(tmp[i],tmp[j]));return res; } int main() {cinn;for(int i1;in;i) cinp[i].xp[i].yp[i].z;sort(p1,p1n,cmpx);printf(%.3lf\n,solve(1,n));return 0; }
http://www.zqtcl.cn/news/901428/

相关文章:

  • 平面毕业设计作品网站推广普通话ppt
  • p2p网站开发思路方案免费建简单网站
  • 微信朋友圈的网站连接怎么做互联网工程有限公司
  • 高大上企业网站优秀的门户网站
  • 做seo对网站推广有什么作用自己做电商网站吗
  • 网站从哪些方面来做泉州网页搜索排名提升
  • 网站建设可以给公司带来想做网站开发兼职
  • 天津市免费建站精美大气的餐饮类企业网站
  • 购物网站那个信用好又便宜手机模板的网站
  • 建筑企业资质查询网站怎么查网络服务商
  • 汉川市城乡建设局网站企业销售网站建设
  • 梅州建设网站域名购买流程
  • 单页网站与传统网站的区别wordpress对接微信
  • 做公司网站深圳旅游
  • 最好企业网站网站建设 的销售图片
  • 怎么创建网站 免费滴做网站算运营吗
  • 廊坊网站建设-商昊网络正规网站优化推广
  • 网站建设拍金手指排名贰贰安装wordpress数据库错误
  • 食品网站建设需求分析购物app大全
  • 电商美工广州seo技术外包公司
  • 重庆旅游seo整站优化深圳宝安区是富人区吗
  • 网站开发验收模板网站欧美风格
  • 自己做发卡网站什么是网络设计制作
  • 如何搭建一个公司网站互联网推广怎么找客户
  • 江苏同隆建设集团有限公司网站asp.net新建网站
  • 爱站网挖掘工具小程序网站开发怎么样
  • 网站文章批量上传工具自己制作免费网站
  • 凡科快速建站建设网站遇到问题的解决方案
  • 深圳市公司网站建设公司十大互联网营销公司
  • 免费发布推广信息的网站百度招聘2022年最新招聘