1. 认识Linux系统目录结构 /bin 可执行文件所在目录 /media 挂载设备媒体,u盘,光驱等 /mnt 该目录主要是为了让用户挂在别的文件系统(挂在自己的u盘) /usr unix system resources,庞大和复杂的目录,很多应用会安装到此目录(/usr/local-用户自己 ...
分类:
系统相关 时间:
2020-06-29 00:30:39
阅读次数:
74
这题好水,就是简单的模拟+字符串。 \(\sf Translation\) 给定一个 $01$ 串,如果 $0$ 出现的次数和 $1$ 出现的次数的最小值是奇数,输出 DA ,否则输出 NET 多测。 \(\sf Solution\) 法一 简单模拟+字符串,如果你是刚刚学字符串的萌新,推荐先看看 ...
分类:
其他好文 时间:
2020-06-28 22:51:24
阅读次数:
117
难度命中算法制excel表格 package com.miracle9.game.algorithm; import com.miracle9.game.algorithm.FishServerSuanfa.FISH_TYPE; import java.util.Objects; import ja ...
分类:
编程语言 时间:
2020-06-28 22:07:51
阅读次数:
80
There is a game called "I Wanna Be the Guy", consisting of n levels. Little X and his friend Little Y are addicted to the game. Each of them wants to ...
分类:
其他好文 时间:
2020-06-27 21:41:11
阅读次数:
90
生成树顾名思义是对原图提取一些边来生成一棵树。 例题: CF840B Leha and another game about graph 题解 ...
分类:
其他好文 时间:
2020-06-27 16:00:29
阅读次数:
35
题目链接:https://codeforces.com/contest/1373/problem/B 题意 给出一个二进制串 $s$,Alica 和 Bob 每次可以选择移去 $s$ 中的一个 $10$ 或 $01$,无法选择者视为输掉游戏,判断最终谁会胜利。($1 \le t \le 1000, ...
分类:
其他好文 时间:
2020-06-26 23:51:15
阅读次数:
55
https://leetcode-cn.com/problems/jump-game/ 给定一个非负整数数组,你最初位于数组的第一个位置。 数组中的每个元素代表你在该位置可以跳跃的最大长度。 判断你是否能够到达最后一个位置。 示例 1: 输入: [2,3,1,1,4]输出: true解释: 我们可以 ...
分类:
其他好文 时间:
2020-06-26 12:37:45
阅读次数:
63
1、SEE:https://elasticsearch.cn/article/32 2、倒排词典的索引需要常驻内存,无法 GC,需要监控 data node 上 segment memory 增长趋势。 3、各类缓存,field cache, filter cache, indexing cache ...
分类:
其他好文 时间:
2020-06-26 10:56:28
阅读次数:
70
Game of Life (M) 题目 According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British ...
分类:
其他好文 时间:
2020-06-26 10:53:37
阅读次数:
48
CHM 的使用 ConcurrentHashMap 是 J.U.C 包里面提供的一个线程安全并且高效的 HashMap,所以 ConcurrentHashMap 在并发编程的场景中使用的频率比较高,那么这一节课我们就从 ConcurrentHashMap 的使用上以及源码层面来分析 Concurre ...
分类:
其他好文 时间:
2020-06-26 10:23:36
阅读次数:
46