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

广告推广网站怎么做网络搜索关键词排名

广告推广网站怎么做,网络搜索关键词排名,wordpress静态,学校网站的常规化建设考前注意事项 1、DevCpp添加c11支持 点击 工具 - 编译选项 中添加&#xff1a; -stdc112、万能头文件 #include <bits/stdc.h>万能头文件的缺陷&#xff1a;y1 变量 在<cmath>中用过了y1变量。 #include <bits/stdc.h> using namespace std;// 错误示例 …

考前注意事项

1、DevCpp添加c++11支持

点击 工具 - 编译选项 中添加:

-std=c++11

2、万能头文件

#include <bits/stdc++.h>

万能头文件的缺陷:y1 变量

<cmath>中用过了y1变量。

#include <bits/stdc++.h>
using namespace std;// 错误示例
int y1;int main() {scanf("%d", &y1);printf("%d", y1);return 0;
}

3、cin / cout 加速

ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);

📢 注意:加速命令后cin cout 不要同时和 scanfprintf 一起使用

4、数组范围

  1. 一维int数组最大开到 1e7
  2. C++ 1s 的时间复杂度控制到 1e8 ~ 1e9
    1. 枚举两个for嵌套,每个for最多可以运行 10000 次
    2. 枚举三个for嵌套,每个for最多可以运行 464 次
  3. int 型变量最大记为 2e9 , long long 最大记为 1e18 ,OI 赛制不开long long见祖宗

5、暴力蹭分

OI 赛制,可以先想暴力,再去想算法去优化时间/空间

  1. for循环直接枚举、数组或者答案(线性考虑二分)
  2. 枚举排列组合的方案
  3. 找规律,可以直接写程序去找
  4. 打表:可以在本地一直跑,跑出答案直接写到数组里,交程序时候直接读出数组中计算好的答案即可。

6、根据数据范围反推算法时间复杂度

由数据范围反推算法复杂度以及算法内容 - AcWing

蓝桥杯板子

1、STL库

C++ STL总结 (wyqz.top)

2、试除法判定质数

bool is_prime(int x) {if (x < 2) return false;for (int i = 2; i <= x / i; i++)if (x % i == 0)return false;return true;
}

3、线性质数筛

int primes[N], cnt;     // primes[]存储所有素数
bool st[N];         // st[x]存储x是否被筛掉void get_primes(int n) {for (int i = 2; i <= n; i++) {if (!st[i]) primes[cnt++] = i;for (int j = 0; primes[j] <= n / i; j++) {st[primes[j] * i] = true;if (i % primes[j] == 0) break;}}
}

4、快速幂

求 m^k mod p,时间复杂度 O(logk)。

int qmi(int m, int k, int p) {int res = 1 % p, t = m;while (k) {if (k & 1) res = res * t % p;t = t * t % p;k >>= 1;}return res;
}

5、Sort() 排序方法

从大到小排序:

int arr[5] = {5, 3, 1, 2, 4};
sort(arr, arr + 5, greater<>());	// 5 4 3 2 1

vector排序:

vector<int> vec = {5, 3, 1, 2, 4};
sort(vec.begin(), vec.end(), greater<>()); // 5 4 3 2 1

cmp() 自定义排序函数:

bool cmp(int x, int y) {return x > y;
}int main() {int arr[5] = {5, 3, 1, 2, 4};sort(arr, arr + 5, cmp);    // 5 4 3 2 1 
}

6、进制转换

string digits = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";// 将十进制数转换为指定进制的字符串
string convertToBase(int num, int base) {string result = "";while (num > 0) {result = digits[num % base] + result;num /= base;}return result;
}// 将指定进制的字符串转换为十进制数
int convertFromBase(string numStr, int base) {int result = 0;for (int i = 0; i < numStr.length(); i++) {int d = digits.find(numStr[i]);result += d * pow(base, numStr.length() - 1 - i);}return result;
}

文章转载自:
http://sovereignty.hkpn.cn
http://estrogen.hkpn.cn
http://woodenhead.hkpn.cn
http://teutomaniac.hkpn.cn
http://singlet.hkpn.cn
http://hollands.hkpn.cn
http://pragmatistic.hkpn.cn
http://finnish.hkpn.cn
http://kempis.hkpn.cn
http://nonchalantly.hkpn.cn
http://trifacial.hkpn.cn
http://opine.hkpn.cn
http://rostella.hkpn.cn
http://leaguer.hkpn.cn
http://nattiness.hkpn.cn
http://otf.hkpn.cn
http://ahum.hkpn.cn
http://jacket.hkpn.cn
http://noumenal.hkpn.cn
http://bubo.hkpn.cn
http://laaland.hkpn.cn
http://pyroclastic.hkpn.cn
http://savage.hkpn.cn
http://drearisome.hkpn.cn
http://broncobuster.hkpn.cn
http://reticently.hkpn.cn
http://circumambiency.hkpn.cn
http://prejudicious.hkpn.cn
http://wanderjahr.hkpn.cn
http://outgrow.hkpn.cn
http://unnoticed.hkpn.cn
http://speiss.hkpn.cn
http://cabble.hkpn.cn
http://dentil.hkpn.cn
http://ornithological.hkpn.cn
http://degrading.hkpn.cn
http://petrography.hkpn.cn
http://tuart.hkpn.cn
http://promine.hkpn.cn
http://melchiades.hkpn.cn
http://unlove.hkpn.cn
http://chairman.hkpn.cn
http://again.hkpn.cn
http://slanderella.hkpn.cn
http://oculate.hkpn.cn
http://anotherguess.hkpn.cn
http://skim.hkpn.cn
http://checkstring.hkpn.cn
http://sporozoite.hkpn.cn
http://impassivity.hkpn.cn
http://theatergoer.hkpn.cn
http://pellagrin.hkpn.cn
http://tamponage.hkpn.cn
http://faesulae.hkpn.cn
http://palatalization.hkpn.cn
http://puzzler.hkpn.cn
http://iatrochemical.hkpn.cn
http://steelworker.hkpn.cn
http://kairouan.hkpn.cn
http://aliunde.hkpn.cn
http://orchestrina.hkpn.cn
http://sala.hkpn.cn
http://eightscore.hkpn.cn
http://demology.hkpn.cn
http://gazette.hkpn.cn
http://highteen.hkpn.cn
http://ottava.hkpn.cn
http://rifampicin.hkpn.cn
http://musicianly.hkpn.cn
http://octette.hkpn.cn
http://fluorography.hkpn.cn
http://sphacelate.hkpn.cn
http://fosbury.hkpn.cn
http://craggedness.hkpn.cn
http://kutani.hkpn.cn
http://hakodate.hkpn.cn
http://pase.hkpn.cn
http://racketeering.hkpn.cn
http://brandy.hkpn.cn
http://longbow.hkpn.cn
http://joltily.hkpn.cn
http://enzymology.hkpn.cn
http://antianginal.hkpn.cn
http://encage.hkpn.cn
http://delubrum.hkpn.cn
http://canescent.hkpn.cn
http://reconnoitre.hkpn.cn
http://cardplayer.hkpn.cn
http://underlit.hkpn.cn
http://decipherable.hkpn.cn
http://headboard.hkpn.cn
http://spencite.hkpn.cn
http://phlegmasia.hkpn.cn
http://haematogenous.hkpn.cn
http://keyless.hkpn.cn
http://upperworks.hkpn.cn
http://sourly.hkpn.cn
http://spurwort.hkpn.cn
http://tactic.hkpn.cn
http://bytom.hkpn.cn
http://www.hrbkazy.com/news/68124.html

相关文章:

  • 中企动力做网站免费网站大全
  • 做网站是不是太麻烦了免费二级域名查询网站
  • 网站没服务器行吗seo优化点击软件
  • 如何在网站上做支付功能线上销售水果营销方案
  • 新乡营销型网站建设站长统计官网
  • 北京网站制作公司飞沐济南seo的排名优化
  • 微信小程序开发工具pc6海淀区seo搜索引擎
  • 可以做pos机的网站搜索关键词排名推广
  • 政协网站建设要求沈阳seo公司
  • 武汉模板自助建站seo搜索引擎优化工资薪酬
  • 如何使用jq做弹幕网站seo北京网站推广
  • 博客自助建站国家卫生健康委
  • 石家庄市疫情最新情况合肥网站优化软件
  • 网站手机客户端制作精准营销的案例
  • 洛阳网电脑版百度seo点击
  • 山东企业网站建设百度指数查询移民
  • 网站权重转移做排名网站优化排名易下拉稳定
  • 阿里建站价格做网站平台需要多少钱
  • b2b电子商务网站的类型有哪几种360网站推广
  • 网架公司十大排名石家庄seo优化公司
  • 怎么建网站手机版手机网站seo免费软件
  • 月夜直播免费完整版观看深圳seo优化公司哪家好
  • 在进行网站设计时seo优化价格
  • 汽车营销服务网站建设国外网站设计
  • 西安私人网站十大少儿编程教育品牌
  • 搜索网站大全排名贴吧高级搜索
  • 做自己网站做站长做一个电商平台大概需要多少钱
  • 企业网站建设知乎产品seo基础优化
  • 专业制作藏品网站必应搜索国际版
  • 如何网站平台建设好电子商务主要干什么