Blog恢复

前几天由于数据库的问题 我重新安装了系统,但系统重装之后,我放在本地的blog发生了变化,消失了。

由于我不得不在PC端使用Typora来写markdown文本,所以我要重新把blog进行恢复。

在此记录一下,在恢复过程中,踩过的一些坑。

Read more »

问题描述

有一个$h * w$的矩形,现在要在上边放置$n$个东西。东西的宽度为$w_i$。

放东西的原则是:

1.尽可能的在上层

2.尽可能放在左边

你要输出的是这$n$个东西在这个矩形的第几行。

输入

$n, w, n$ 其中 $1 <= h, w <= 10^9, 1 <= n <= 200,000$

下边又有$n$行数据,表示$w_i$, $1 <= w_i <= 10^9$

Read more »

问题描述

By listing the first six prime numbers:$2,3, 5, 7, 11$,and $13$, we can see that the $6th$ prime is $13$.

What is the $10 001$st prime number?

Read more »