最新 最热

Codeforces 727D-T-shirts Distribution (字符串 贪心)

The organizers of a programming contest have decided to present t-shirts to participants. There are six different t-shirts sizes in this problem: S, M, L, XL, X...

2020-09-28
1

Syntax Highlighting

By {{< highlight go-html-template "linenos=table,hl_lines=1 3-7,linenostart=199" >}}..{{< / highlight >}}

2020-09-23
4

习题 9: 打印,打印,打印

Here are the days: Mon Tue Wed Thu Fri Sat Sun Here are the months: Jan Feb Mar Apr May Jun Jul Aug

2020-09-16
1

动态规划-树形DP

树形DP,顾名思义是在「树」这种数据结构上进行的DP,往往给定一棵树,通过指定操作求最小代价或最大收益等。 一般方向主要分①从子节点向根节点传递信息,②根节点向子节点传递 树操作一般利用递归和搜索,如树的遍历等,用dfs...

2020-09-15
2

R海拾遗-森林图绘制

这里生成的是一个11行3列的数据框,分别对应均值,上限和下限第一行和第二行为空值,为了提供绘图中的空行

2020-09-15
1

杭电5178 (二分练习!)

pairs John has n points on the X axis, and their coordinates are (x[i],0),(i=0,1,2,…,n−1). He wants to know how many pairs<a,b> that |x[b]−x[a]|≤k.(a<b)

2020-09-11
2

森林图+QQ plot

> csize <- data.frame(mean = c(NA,0.5585,0.6628,0.7794,0.7458,0.7564),lower = c(NA,0.4849,0.5867,0.5856,0.6734,0.6886),upper = c(NA,0.6319,0.7335,0.8123,0.7965,...

2020-08-06
2

【数据分析与可视化】matplotlib简单绘图之subplot

[<matplotlib.lines.Line2D at 0x116769150>]

2020-07-07
1

【数据分析与可视化】Pandas绘图之Series

[<matplotlib.lines.Line2D at 0x120ebcf90>]

2020-07-07
1

「R」传统图形绘制

上述处理的都是向量数据,而matplot()、matpoints() 和 matlines()都是处理矩阵形式数据的。

2020-07-02
1