关于 QPS、TPS、PV、UV、GMV、IP、RPS 这些词语,看起来好像挺专业。但实际上,我认为是这是每个程序员必懂的知识点了,你可以搞不懂它们怎么计算的,但是你最少要知道它们分别代表什么意思吧?! QPS QPS:全名 Queries Per Second,意思是“每秒查询率”,是一台服务器每 ...
分类:
其他好文 时间:
2019-07-23 17:30:24
阅读次数:
119
仅供个人查看,没有验证其正确性。 循环矩阵快速幂是可以通过一个一维数组来完成的。(我之前一直用二维数组,比较好理解) 比如说一个$5 \times 5$的循环矩阵,再乘一个$5 \times 5$的矩阵, $\times$ $=$ 第一个用数组$a$表示,第二个用数组$b$表示,第三个用数组$c$表 ...
分类:
其他好文 时间:
2019-07-20 21:44:27
阅读次数:
208
题目大意:https://www.cnblogs.com/Juve/articles/11219089.html 读这道题的题目让我想起了。。。 woc我到底在想什么?好好写题解,现在不是干那个的时候!!! 好吧,这题我交了20多次,一开始发现爆了long long,连慢速乘都用上了 但毫无改观,2 ...
分类:
其他好文 时间:
2019-07-20 21:38:59
阅读次数:
119
Cross-Site Scripting(XSS) 1. Using the tool - netdiscover to find the IP of target server. 2.Browser the website http://10.0.0.21 through Firefox. 3. ...
分类:
移动开发 时间:
2019-07-18 23:57:37
阅读次数:
299
1. 策略1.尽量全值匹配 CREATE TABLE `staffs`( id int primary key auto_increment, name varchar(24) not null default "" comment'姓名', age int not null default 0 c ...
分类:
数据库 时间:
2019-07-15 01:37:08
阅读次数:
183
问题描述 We have a graph with N vertices, numbered 0 through N ?1. Edges are yet to be added. We will process Q queries to add edges. In the i th (1≦ i ≦ ...
分类:
其他好文 时间:
2019-07-14 14:49:03
阅读次数:
91
我才不会告诉你我cmp写错了,然后调了一年 CDQ分治模板题 一维时间,二三维x,y坐标 避免树状数组下标出现0炸掉,把跟长度有关的都+1 答案用容斥原理即可(类似于二维前缀和?) ...
分类:
其他好文 时间:
2019-07-13 19:58:33
阅读次数:
115
题目 链接 有n只青蛙,有m块石头,编号为0~m-1,第i只青蛙每次可以跳$a_i$, 刚开始都在0,问,青蛙总共可以跳到的石头之和为多少。其中$t≤20$,$1≤n≤10^4$,$1≤m≤10^9$,$1≤a_i≤10^9$. 分析 根据裴蜀定理知,对于一个有n个点的环,每个循环节的长度为n/gc ...
分类:
其他好文 时间:
2019-07-13 18:36:38
阅读次数:
97
做为一名新手,首先要过一过题,找找成就感。(大佬略过)。下面附上洛古最简单50题(大佬略过)。以及最麻烦 AC代码,至少AC了。 NO.31 P1615 西游记公司 #includeusing namespace std;int main(){long long a1,a2,a3,s1,s2,s3,... ...
分类:
其他好文 时间:
2019-07-11 09:47:08
阅读次数:
107
题目描述 Byteasar has become a hexer - a conqueror of monsters. Currently he is to return to his hometown Byteburg. The way home, alas, leads through a la ...
分类:
其他好文 时间:
2019-07-08 13:48:15
阅读次数:
73