1、字符串和字节串 1.1 描述 两种串值都使用成对单引号或双引号来表示首尾,也可以使用三引号来表示。 1.2 字符串的转义 反斜杠 ( ) 字符被用来对特殊含义的字符进行转义。 1.3 字节字符串 字符串带有前缀 或 。字节串只能包含ASCII字符,字节对应数值在128以内。 1.4 原始字符串 ...
分类:
其他好文 时间:
2020-01-31 10:42:26
阅读次数:
75
友好城市 解题思路:不交叉,则将北岸的坐标从小到大排,找南岸的最长上升子序列 AC_Code 1 #include <iostream> 2 #include <cstdio> 3 #include <cmath> 4 #include <algorithm> 5 #include <bits/st ...
分类:
编程语言 时间:
2020-01-31 01:09:11
阅读次数:
96
Given a list of points that form a polygon when joined sequentially, find if this polygon is convex (Convex polygon definition). ...
分类:
编程语言 时间:
2020-01-31 00:52:35
阅读次数:
83
转自 https://blog.csdn.net/Mr_Chenjie_C/article/details/87881147 Mysql中limit的用法:在我们使用查询语句的时候,经常要返回前几条或者中间某几行数据,这个时候怎么办呢?不用担心,mysql已经为我们提供了这样一个功能。 SELECT ...
分类:
数据库 时间:
2020-01-30 23:23:19
阅读次数:
136
题目链接 题目描述 方法: topo 每趟列车,没有停靠的车站(u)的等级必然小于停靠车站(v)的等级,所以u,v连边,拓扑排序算level。 Code: #include <bits/stdc++.h> # define LL long long using namespace std; cons ...
分类:
其他好文 时间:
2020-01-30 23:18:09
阅读次数:
137
关于生成树协议的知识可参考我的另一个博客:https://www.cnblogs.com/mrlayfolk/p/12242627.html 这篇博文主要介绍快速生成树协议(RSTP)的基本知识。--参考书籍《网络之路--交换专题》 1、基本知识 RSTP是STP的改进,为了满足如今低时延高可靠性的 ...
分类:
其他好文 时间:
2020-01-30 23:12:13
阅读次数:
101
"传送门" $\sum_{i = 1}^{n}k \ mod \ i$ $k \ mod \ i = k \lfloor \frac{k}{i} \rfloor i$ $\sum_{i = 1}^{n}k \ mod \ i = kn \sum_{i = 1}^{n}\lfloor \frac{k} ...
分类:
其他好文 时间:
2020-01-30 23:08:52
阅读次数:
62
1027 打印沙漏 (20分) https://pintia.cn/problem-sets/994805260223102976/problems/994805294251491328 #include <iostream> #include <cstdio> #include <cstring> ...
分类:
其他好文 时间:
2020-01-30 22:52:52
阅读次数:
135
http://www.360doc.com/content/18/0222/08/10346540_731371967.shtml ...
分类:
其他好文 时间:
2020-01-30 22:42:27
阅读次数:
72
一、上线准备工作 1.准备Python虚拟环境:[Linux系统] CentOS7创建Python虚拟环境 2.安装Python依赖:[Python自学] 批量安装依赖 3.部署MariaDB:[数据库] MariaDB安装及使用 4.部署Redis集群:[NoSQL数据库] Redis集群部署 5 ...
分类:
编程语言 时间:
2020-01-30 22:34:13
阅读次数:
107