- 博客(31)
- 收藏
- 关注
原创 Sharding 与 Partitioning 的区别
Partitioning(广义)可以分为两种方式:水平分区(Horizontal Partition)和垂直分区(Vertical Partition)。
2023-10-19 09:25:19
546
原创 【考研】数据结构复习
一、线性表1、线性表的顺序表示(1)定义静态分配#define MaxSize 50typedef struct{ ElemType data[MaxSize]; int length;}SqList;动态分配#define InitSize 100typedef struct{ ElemType *data; // 指示动态分配数组的指针 int MaxSize,length;}SqList;// 初始动态分配L.data=(ElemT
2021-07-17 23:55:38
756
1
原创 FRP内网穿透 远程桌面的搭建
一、准备内容要求操作系统Win10家庭版以上服务器具有公网ip远程软件RD Client二、软件介绍1、Win10专业版/企业版2、RD Client(Microsoft 远程桌面)主要功能访问运行Windows Professional或Windows Enterprise以及Windows Server的远程电脑安全连接到数据和应用程序通过连接中心轻松的管理和连接用户账户流式传输音频和视频重定向剪切板以及麦克风和相机等本地设备…3、
2021-06-24 16:16:42
1461
1
原创 RD Client 用户账户无效解决办法
打开本地组策略编辑器——计算机配置——Windows设置——安全设置——本地策略——安全选项,把“网络访问:本地账户的共享和安全模型”改成经典。即可。
2021-06-24 08:29:13
8233
6
原创 【知识点总结】NoSQL数据库技术
NoSQL基础部分一、NoSQL相关概念1、NoSQL定义Not only SQL2、时间单位1s=103ms=106um=10^9ns3、存储数据单位B、KB、MB、TB、PB、EB、ZB、YB二、数据库分类1、TRDB数据库2、NoSQL数据库键值数据库文档数据库列族数据库图数据库其他数据库3、NewSQL三、1、帽子定理一致性可用性分区容错性2、ACID原子性一致性隔离性持久性3、BASE基本可用软状态最终一致性四、NoSQ
2021-04-21 18:54:59
2448
1
原创 【知识点总结】计算机操作系统
第一章 操作系统引论操作系统的特征并发共享虚拟异步并发和共享是两个最基本的特征,二者互为存在条件。1、并发与并行并发:指两个或多个事件在同一时间间隔内发生。这些事件宏观上是同时发生的,但微观上是交替发生的。并行:指两个或多个事件在同一时间同时发生。操作系统的并发性是指计算机系统中同时存在着多个运行着的程序。2、共享共享:即资源共享,是指系统中的资源可供内存中多个并发执行的进程共同使用。共享方式互斥共享方式:系统中某些资源,一个时间段内只允许一个进程访问该资源
2020-12-14 22:38:28
5422
原创 【Python爬虫】猫眼电影榜单Top100
Python爬虫大作业,本文是根据实验报告修改,内容与实验报告基本一致。【作业2020年11月20号前提交,本文于21号开放】一、目标爬取猫眼电影榜单Top100,将数据存入Excel文件中,并利用pyecharts库进行数据可视化得到.html文件和.png文件。二、内容主要包括四个阶段:爬取网页全部数据、获取数据并进行处理、数据存储、数据可视化。1、 爬取网页全部数据通过requests.get()获得页面数据,使用etree.HTML()将字符串数据转变成_Element对象,并存储在.
2020-11-21 09:05:12
11223
15
原创 【知识点总结】大数据技术原理与应用
大数据技术原理与应用本文是对《大数据与云计算导论》课程知识点的应试总结。基本涵盖了《大数据技术原理与应用》的重点内容。思维导图由@福尔摩东整理第一章 大数据概述1、三次信息化浪潮信息化浪潮发生时间标志解决的问题代表企业第一次浪潮1980年前后个人计算机信息处理Intel、AMD、IBM第二次浪潮1995年前后互联网信息传输雅虎、谷歌、阿里巴巴第三次浪潮2010年前后物联网、云计算和大数据信息爆炸亚马逊、谷歌、阿里云注:信息化浪
2020-11-05 10:23:16
18909
5
原创 【牛客】5674 A-Groundhog and 2-Power Representation
链接:https://ac.nowcoder.com/acm/contest/5674/A来源:牛客网题目描述Groundhog took a math class. In this class, his math teacher said:Any positive integer can be represented by the power of 2{2}2. For example:137=27+23+20137=27+23+2^0137=27+23+20.And powers are ex
2020-08-08 23:44:39
160
原创 【牛客】5668 C-Operation Love
链接:https://ac.nowcoder.com/acm/contest/5668/C来源:牛客网题目描述Alice is a beauty in a robot society. So many robots want to marry her. Alice determines to marry a robot who can solve the following puzzle:Firstly, the shape of Alice’s right palm is as follow:
2020-07-18 19:21:44
352
原创 判断点与直线的位置关系
判断点与直线的位置关系是计算几何里面的一个最基本算法,可以使用向量来判断。定义:平面上三个点A(x1,y1)、B(x2,y2)、C(x3,y3),判断点C与AB→\overrightarrow{AB}AB的位置关系。S(A,B,C)=∣y1,y2,y3∣=(x1−x3)(y2−y3)−(y1−y3)(x2−x3)2S(A,B,C)= \left | y1,y2,y3\right |= \frac{(x1-x3)(y2-y3)-(y1-y3)(x2-x3)}{2}S(A,B,C)=∣y1,y2,y3∣=2
2020-07-18 17:57:20
4098
2
原创 【牛客】5667 F-Fake Maxpooling
链接:https://ac.nowcoder.com/acm/contest/5667/F来源:牛客网题目描述Given a matrix of size n×m and an integer k, where A[i][j]=lcm(i,j), the least common multiple of i and j. You should determine the sum of the maximums among all k×k submatrices.输入描述:Only one line
2020-07-15 20:47:25
454
原创 【牛客】3005 C-子段乘积
wucif链接:https://ac.nowcoder.com/acm/contest/3005/C来源:牛客网题目描述给出一个长度为 n 的数列 a1,a2,…,an,求其长度为 k 的连续子段的乘积对 998244353 取模余数的最大值。输入描述:第一行两个整数n,k。第二行n个整数,a1,a2,…,an。输出描述:输出一个整数,代表最大余数。示例1输入5 31 ...
2020-02-12 20:34:37
374
原创 【牛客】3004 H- 牛牛的k合因子数
链接:https://ac.nowcoder.com/acm/contest/3004/H来源:牛客网题目描述合数是指自然数中除了能被1和本身整除外,还能被其他数(0除外)整除的数。牛牛最近在研究“k合因子数”,所谓“k合数”是指一个数的所有因子中,是合数的因子共有k个。例如20的因子有1,2,4,5,10,20,其中4,10,20为合数,它有3个合数因子,就称20是一个 “3合因子数”...
2020-02-10 12:02:01
261
原创 【牛客】3002 H-nozomi和字符串
链接:https://ac.nowcoder.com/acm/contest/3002/H来源:牛客网题目描述nozomi看到eli在字符串的“花园”里迷路了,决定也去研究字符串问题。她想到了这样一个问题:对于一个 “01”串而言,每次操作可以把0字符改为1字符,或者把1字符改为0字符。所谓“01”串,即只含字符0和字符1的字符串。nozomi有最多k次操作的机会。她想在操作之后找出一...
2020-02-07 15:46:06
286
原创 【牛客】3002 G-eli和字符串
链接:https://ac.nowcoder.com/acm/contest/3002/G来源:牛客网题目描述eli拿到了一个仅由小写字母组成的字符串。她想截取一段连续子串,这个子串包含至少 [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-Ot3ASslD-1580827923738)(https://www.nowcoder.com/equation?tex...
2020-02-04 22:54:32
310
原创 【Codeforces】1208A. XORinacci
题目描述Cengiz recently learned Fibonacci numbers and now he is studying different algorithms to find them. After getting bored of reading them, he came with his own new type of numbers that he named XOR...
2020-01-17 15:05:32
472
原创 【Codeforces】1215A. Yellow Cards
题目描述The final match of the Berland Football Cup has been held recently. The referee has shown nn yellow cards throughout the match. At the beginning of the match there were a1a1 players in the first ...
2020-01-16 13:15:05
237
原创 【Codeforces】1217A. Creating a Character
题目描述You play your favourite game yet another time. You chose the character you didn’t play before. It has strstr points of strength and intint points of intelligence. Also, at start, the character ha...
2020-01-15 16:35:05
250
原创 【Codeforces】1220B. Multiplication Table
题目描述Sasha grew up and went to first grade. To celebrate this event her mother bought her a multiplication table MM with nn rows and nn columns such that Mij=ai⋅ajMij=ai⋅aj where a1,…,ana1,…,an is som...
2020-01-15 15:32:46
268
原创 【Codeforces】1221A. 2048 Game
题目描述You are playing a variation of game 2048. Initially you have a multiset ss of nn integers. Every integer in this multiset is a power of two.You may perform any number (possibly, zero) operations...
2020-01-14 17:50:51
368
原创 【Codeforces】1221C. Perfect Team
题目描述You may have already known that a standard ICPC team consists of exactly three members. The perfect team however has more restrictions. A student can have some specialization: coder or mathematic...
2020-01-14 14:53:40
243
原创 【Codeforces】1251A. Broken Keyboard
题目描述Recently Polycarp noticed that some of the buttons of his keyboard are malfunctioning. For simplicity, we assume that Polycarp’s keyboard contains 2626 buttons (one for each letter of the Latin a...
2020-01-05 11:23:30
499
原创 【Codeforces】1251B. Binary Palindromes
题目描述A palindrome is a string tt which reads the same backward as forward (formally, t[i]=t[|t|+1−i]t[i]=t[|t|+1−i] for all i∈[1,|t|]i∈[1,|t|]). Here |t||t| denotes the length of a string tt. For exam...
2020-01-04 20:03:42
198
原创 【codeforces】1278A. Shuffle Hashing
Polycarp has built his own web service. Being a modern web service it includes login feature. And that always implies password security problems.Polycarp decided to store the hash of the password, ge...
2020-01-04 08:57:18
451
原创 【牛客】13253 子串
链接:https://ac.nowcoder.com/acm/problem/13253来源:牛客网题目描述给出一个正整数n,我们把1…n在k进制下的表示连起来记为s(n,k),例如s(16,16)=123456789ABCDEF10, s(5,2)=11011100101。现在对于给定的n和字符串t,我们想知道是否存在一个k(2 ≤ k ≤ 16),使得t是s(n,k)的子串。输入描述:...
2019-12-29 09:15:01
429
原创 【牛客】21314 codeforces
链接:https://ac.nowcoder.com/acm/problem/21314来源:牛客网题目描述牛牛正在打一场CF比赛时间为T分钟,有N道题,可以在比赛时间内的任意时间提交代码第i道题的分数为maxPoints[i],题目的分数随着比赛的进行,每分钟减少pointsPerMinute[i]这是一场比较dark的Cf,分数可能减成负数已知第i道题需要花费 requiredT...
2019-12-28 19:35:43
327
原创 【牛客】21313 美丽序列
链接:https://ac.nowcoder.com/acm/problem/21313来源:牛客网题目描述牛牛喜欢整数序列,他认为一个序列美丽的定义是1:每个数都在0到40之间2:每个数都小于等于之前的数的平均值具体地说:for each i, 1 <= i < N, A[i] <= (A[0] + A[1] + … + A[i-1]) / i.3:没有三个连续的...
2019-12-28 13:02:26
479
原创 【牛客】21303 删括号
链接:https://ac.nowcoder.com/acm/problem/21303来源:牛客网题目描述给你一个合法的括号序列s1,每次你可以删除一个"()"你可以删除0个或者多个"()"求能否删成另一个括号序列s2输入描述:第一行输入一个字符串s (2 ≤ |s| ≤ 100)第二行输入一个字符串t (2 ≤ |t| ≤ 100 )输出描述:如果可以输出"Possible...
2019-12-28 09:08:02
481
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人