\(\text{Problem}:\)玩游戏 \(\text{Solution}:\) 要对 \(\forall k\in[1,t]\),求出: \[ f_{k}=\frac{1}{nm}\sum\limits_{i=1}^{n}\sum\limits_{j=1}^{m}(a_{i}+b_{j})^ ...
分类:
其他好文 时间:
2021-05-23 23:13:05
阅读次数:
0
二叉搜索树 二叉搜索树满足这样的性质: 每个节点 x 有一个键值。 节点 x 的键值大于等于左子树的任意节点 y 的键值. 节点 x 的键值小于等于右子树的任意节点 z 的键值. 二叉搜索树的表达 struct Node{ int key; Node*parent ; Node*left; Node ...
分类:
其他好文 时间:
2021-05-23 23:08:30
阅读次数:
0
Linux环境下的gvim编辑器的优势就不多说了。至于我,一个字懒,不想记住gvim的指令,但一想到以后工作还是要用到,还是硬着头皮学吧! 1 gvim基本操作 1.1 基本模式 gvim 有两个基本的模式:Insert 和Normal。Insert模式下光标是竖线,这时键盘的输入为文本。Norma ...
分类:
系统相关 时间:
2021-05-04 16:26:16
阅读次数:
0
MySQL学习(二) DML语言 数据库意义 : 数据存储、数据管理 管理数据库数据方法: 通过Navicat、SQLyog等管理工具管理数据库数据 通过DML语句管理数据库数据 DML语言 :数据操作语言 用于操作数据库对象中所包含的数据 包括 : INSERT (添加数据语句) UPDATE ( ...
分类:
数据库 时间:
2021-05-04 15:29:53
阅读次数:
0
all privileges权限有哪些: select, insert, update, delete, create, drop,references, index,alter,create temporary tables,lock tables,execute,create view,show ...
分类:
数据库 时间:
2021-05-03 12:11:00
阅读次数:
0
create table test.t_20210429 ( app String, cnt Nullable(UInt32), per Nullable(UInt32) ) ENGINE=MergeTree() order by app; insert into test.t_20210429 v ...
分类:
其他好文 时间:
2021-04-30 12:18:08
阅读次数:
0
一文读懂C++ String类在算法竞赛中的常见用法 string 相较于C语言的字符数组可方便太多了,在算法竞赛中能大大节省我们的时间。以下是我在刷题中会使用到的常见String用法。注释都写好了。 #include <iostream> #include <string> using names ...
分类:
编程语言 时间:
2021-04-30 12:14:45
阅读次数:
0
搜索(深搜回溯与广搜) 1.深搜与回溯 深度优先搜索,简称为深搜或 "DFS" (Depth First Search), 是图运算的一种搜索方式,简要来说是对每一个可能的分支路径深入到不能再深入为止,而且每个节点只能访问一次.大致的搜索过程如下 深度优先遍历图的方法是, 从图中某顶点v出发: (1 ...
分类:
其他好文 时间:
2021-04-30 12:09:37
阅读次数:
0
问题描述 下面是有关这个问题的描述部分。 英文 Given a string s, return the first non-repeating character in it and return its index. If it does not exist, return -1. 中文 针对给 ...
分类:
其他好文 时间:
2021-04-28 12:10:00
阅读次数:
0
<insert id="insertBatchList"> INSERT INTO tag ( `tag_name`, `tag_weight`, ) VALUES <foreach collection ="list" item="tag" separator =","> (#{tag.tagNa ...
分类:
其他好文 时间:
2021-04-28 12:04:54
阅读次数:
0