在一个 n*n 的平面上,在每一行中有一条线段,第 i 行的线段的左端点是(i, L(i)),右端点是(i, R(i)),其中 1 ≤ L(i) ≤ R(i) ≤ n。 你从(1, 1)点出发,要求沿途走过所有的线段,最终到达(n, n)点,且所走的路程长度要尽量短。 更具体一些说,你在任何时候只能 ...
分类:
其他好文 时间:
2020-07-29 09:55:24
阅读次数:
72
#pragma warning (disable : 4996) #include<iostream> #include<algorithm> //#include<unordered_map> #include<fstream> #include<iomanip> #include<string> ...
分类:
其他好文 时间:
2020-07-29 09:54:50
阅读次数:
66
#pragma warning (disable : 4996) #include<iostream> #include<algorithm> //#include<unordered_map> #include<fstream> #include<iomanip> #include<string> ...
分类:
其他好文 时间:
2020-07-29 00:41:30
阅读次数:
78
1 hadoop集群安装 https://blog.csdn.net/shshheyi/article/details/84893371 1.1 修改主机名 [root@localhost ~]# vim /etc/hosts # 三台机器都需要操作 192.168.28.131 master 19 ...
分类:
其他好文 时间:
2020-07-29 00:41:18
阅读次数:
111
给一个序列,我们使用冒泡排序法对它进行排序。请输出在排序过程中会进行多少次交换。 参考大佬:https://www.cnblogs.com/shenshuyang/archive/2012/07/14/2591859.html #define _CRT_SECURE_NO_WARNINGS #inc ...
分类:
编程语言 时间:
2020-07-27 09:39:54
阅读次数:
68
<el-tag :type="tagData 'all' ? '' : 'warning'" effect="dark" @click="toggleTag('all')">全部</el-tag> <el-tag :type="tagData 'undone' ? '' : 'warning' " ...
分类:
其他好文 时间:
2020-07-26 19:06:47
阅读次数:
68
磁盘配置 1、了解磁盘的物理结构 磁盘通常由磁头,盘面,主轴以及磁盘接口主要的四个部件组成,而盘片又分为磁面(Side)、磁道(Track)、柱面(Cylinder)与扇区(Sector)等4个结构构成;磁头通常由磁头、传动手臂、传动轴等构成; 磁头用于读取数据,盘片用于存储数据,磁盘接口用于连接主 ...
分类:
其他好文 时间:
2020-07-24 18:58:29
阅读次数:
71
https://stackoverflow.com/questions/32539285/pointer-is-missing-a-nullability-type-specifier To disable this warning across your entire project Go to ...
分类:
其他好文 时间:
2020-07-24 16:21:59
阅读次数:
78
1 ThreadLocal? This class provides thread-local variables. These variables differ from their normal counterparts in that each thread that accesses one ...
分类:
其他好文 时间:
2020-07-24 16:00:59
阅读次数:
76
##一、Bug报告 ###在alpha阶段中。我们发现并且修改了以下bug: 在网络未连接时以及在使用中途断开网络连接时,会crash。 对新添加的回复和评论不能做到及时更新。 返回键点击过快会出现warning。 在web端删除博文后,app仍可以访问博文,此时会crash。 登录token过期, ...
分类:
其他好文 时间:
2020-07-23 16:18:08
阅读次数:
74