xyj@minecraft:~$ conda install numpy Solving environment: failed InvalidVersionSpecError: Invalid version spec: =2.7 最近使用conda遇到了报错,发现conda的issues有人提出 ...
分类:
其他好文 时间:
2021-04-28 12:14:31
阅读次数:
0
\(\text{Problem}:\)Sky Full of Stars \(\text{Solution}:\) 答案即总方案数减去没有一行或一列是同种颜色的方案数。 设 \(f_{i,j}\) 表示恰好有 \(i\) 行 \(j\) 列是同种颜色的方案数,\(g_{i,j}\) 表示钦定有 \( ...
分类:
其他好文 时间:
2021-04-28 11:55:09
阅读次数:
0
You need to activate the Developer Options and USB Debugging for the purpose. Follow the below mention steps and you would be good to go: 1.Slide into ...
分类:
其他好文 时间:
2021-04-28 11:44:14
阅读次数:
0
https://echarts.apache.org/examples/zh/editor.html?c=bar-stack option = { tooltip: { trigger: 'axis', axisPointer: { // 坐标轴指示器,坐标轴触发有效 type: 'shadow' ...
分类:
其他好文 时间:
2021-04-28 11:42:45
阅读次数:
0
挂载和卸载存储设备 有一个叫做/etc/fstab 的文件可以列出系统启动时要挂载的设备(典型地,硬盘分区)。 这些是硬盘分区。每行由六个字段组成,如下所示: 查看挂载的文件系统列表 这个 mount 命令被用来挂载文件系统。执行这个不带参数的命令,将会显示一系列当前挂载的文件系统: 正如许多现在的 ...
分类:
系统相关 时间:
2021-04-28 11:42:25
阅读次数:
0
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:
其他好文 时间:
2021-04-27 15:16:42
阅读次数:
0
标记线可在图标随意位置绘制一条刻度,方便对数据进行参照对比。 默认情况下,横轴为 category 纵轴为连续的数值。所以标记线即为纵轴上对应某个值的横线。 如下来自 Echarts 官网文档中的示例展示了简单的标记线用法: option = { xAxis: { type: "category", ...
分类:
其他好文 时间:
2021-04-27 14:58:20
阅读次数:
0
P1972 [SDOI2009]HH的项链 莫队模板题,但是有点点卡常,需要用一些技巧进行优化 (1)奇偶优化 (2)快读快写 (3)把块的大小开大一点取$n^{0.5+}$效果会好一些 (4)把 add 和 del 函数展开,不以函数的形式,会块一点点,但并不会快太多 // Created by ...
分类:
其他好文 时间:
2021-04-27 14:37:58
阅读次数:
0
上一篇讲了用 python 提取字符串中的数字,这次用VBA来事项。总体思路和 python 是一样的,代码如下: Option Explicit Sub GetNumbers() Dim from_string As String, convert_numbers As String Dim i, ...
分类:
编程语言 时间:
2021-04-27 14:37:45
阅读次数:
0
Typora 软件的基本使用 1. 标题 一级标题: # 二级标题:## .. 2. 列表 1.1 无序列表(-) 1.2 有序列表(1.) 3. 引用(>) command+option+Q 引用效果 4. 代码块 (```+代码编程语言) command+option+C print("hell ...
分类:
其他好文 时间:
2021-04-27 14:15:28
阅读次数:
0