PAT A1019 General Palindromic Number 题目描述: A number that will be the same when it is written forwards or backwards is known as a Palindromic Number. F ...
分类:
其他好文 时间:
2019-08-24 00:07:49
阅读次数:
63
一、前言 今天事不是很多,正好在Java交流群里,看到一个比较有意思的问题,于是花了点时间研究了一下,这里做个简单的分享。 先贴一份测试代码,大家可以先猜测一下,执行结果会是怎样的: 不知道,你猜对了没有呢,实际的执行结果会是下面这样的: 二、原因分析 这里,一开始大家分析的是,和new有关系;但下 ...
分类:
编程语言 时间:
2019-08-19 19:02:15
阅读次数:
88
K - Count the string HDU - 3336 题目链接:https://vjudge.net/contest/70325#problem/K 题目: It is well known that AekdyCoin is good at string problems as well ...
分类:
其他好文 时间:
2019-08-17 00:53:20
阅读次数:
79
1.操作系统配置 切换到root用户修改配置sysctl.conf reboot或者重新登录 主节点平均分配到不同的机器上,否则容易造成单点故障以及复制风暴。 操作系统关闭THP: 然后给rc.local添加可执行权限: chmod +x /etc/rc.d/rc.local重启生效 2.redis ...
分类:
其他好文 时间:
2019-08-15 11:10:50
阅读次数:
96
上片博文总结出了u-boot的工作流程,今天我们来分析,u-boot的两个比较重要的内容 U-boot命令的实现 U-boot如何启动内核 l 命令实现 我们的u-boot可以解析输入的命令,比如print、setenv、saveenv等命令,我们下来对其的实现进行分析。 我们昨天分析到BL2最后停 ...
分类:
其他好文 时间:
2019-08-14 09:24:48
阅读次数:
150
As we known, data stored in the computers is in binary form.(数据以二进制形式存储于电脑之中。)The problem we discuss now is about the positive integers and its binary ...
分类:
其他好文 时间:
2019-08-13 13:42:30
阅读次数:
110
1.application.yml配置 2. 构建UmspscDataSource类,继承HikariDataSource类 3.初始化DataSource类 ******************************* 构建密文 ...
分类:
数据库 时间:
2019-08-11 13:27:08
阅读次数:
298
用途 快速集成 MongoDB,不用写一行 MongoDB 的 CRUD 语句。而是使用 Spring Data 独有的方法命名方式定义数据库操作,并且可以方便地替换各种数据库,比如 MySQL。 快速开始 (0)开始之前 确保已有可连接的 MongoDB (1)依赖引入 在 中添加如下依赖。 (2 ...
分类:
数据库 时间:
2019-08-11 13:17:39
阅读次数:
116
链接: https://vjudge.net/problem/HDU 3081 题意: Presumably, you all have known the question of stable marriage match. A girl will choose a boy; it is simi ...
分类:
其他好文 时间:
2019-08-11 13:04:26
阅读次数:
108
题目链接:http://codeforces.com/problemset/problem/703/A Mishka is a little polar bear. As known, little bears loves spending their free time playing dice ...
分类:
其他好文 时间:
2019-08-10 09:18:27
阅读次数:
91