最新 最热

Golang 按行读取文件的三种方法

Golang 中有一个 bufio 包,它提供了 Scanner 类型,可以方便地按行读取文件。我们可以使用 Scanner 的 Scan() 方法来读取每一行。

2023-04-30
1

Density of Power Network(ZOJ 3708)

The vast power system is the most complicated man-made system and the greatest engineering innovation in the 20th century. The following diagram shows a typical...

2023-03-09
1

B - Unrequited Love ZOJ - 3601【 模拟 】

There are n single boys and m single girls. Each of them may love none, one or several of other people unrequitedly and one-sidedly. For the coming q days, each...

2023-03-09
2

python 按行数分割文件

将一个大文件按照每个文件最多 split_lines 行,分割成多个小文件,以下实现内存占用低

2023-01-15
2

Polar Code(1)

设N为信息序列的长度。考虑传输两个信息位u1和u2。最简单的极坐标编码器结构为.有些书上写的是信道复用两次,表示成

2022-12-02
1

Golang Project: Tic Tac Toe

In this article, I’ll go through my process of writing a simple Tic-Tac-Toe game in Golang. Error handling, closures, iota as well as other golang features are ...

2022-10-27
1

git 统计代码行数

使用方法:在需要统计的git项目中,打开git命令行窗口(Git Bash),将上面的起止日期修改为具体起止时间,复制到git的命令行窗口即可。

2022-10-25
1

王炸!!商业图表爱好者必看设计指南(PDF源文件分享)

今天小编在查找商业可视化图表绘制资料时,发现了一份宝藏学习资料-《经济学人》图表设计指南,包括该杂志常见插图的所以设计依据,具体为颜色、线宽、插图大小、不同种类插图颜色使用等等。小编分享给大家,以下为该资料的...

2022-10-25
3

【题解】MOR-Tales of seafaring

Young Bytensson loves to hang out in the port tavern, where he often listens to the sea dogs telling their tales of seafaring.

2022-09-21
1

Highways「建议收藏」

The island nation of Flatopia is perfectly flat. Unfortunately, Flatopia has a very poor system of public highways. The Flatopian government is aware of this...

2022-08-10
1