Page 8 - Showing 8 of 94 posts
View all posts by years →
- [CF 1295E] Permutation Separation
You are given a permutation 𝑝1,𝑝2,…,𝑝𝑛 (an array where each integer from 1 to 𝑛 appears exactly once). The weight of the 𝑖-th element of this...
4 min 中文 - C++新标准特性初探
说实话,这一套东西东拼西凑到处取经,不过有些还挺香的.
17 min 中文 - 使用Python分析数据
本来这不是我现在该想的东西,被迫因为建模比赛看了一点。所学东西太过杂乱。
6 min 中文 - 树链剖分
树链剖分可以用来维护树上路径的信息。把树上的节点拆成不超过段连续的路径(链),以映射到线段树或者什么的构来维护数据。
5 min 中文 - [CF 1156D] 0-1 Tree
You are given a tree <!--more--> (an undirected connected acyclic graph) consisting of n vertices and n−1 edges. A number is written on each edge, each...
3 min 中文 - [CF 1156F] Card Bag
You have a bag which contains n cards. There is a number written on each card; the number on i-th card is ai.
3 min 中文 - [CF 1165F2]Microtransactions
Ivan plays a computer game that contains some microtransactions to make characters look cooler. Since Ivan wants his character to be really cool, he...
4 min 中文 - 与Rust玩耍
把先前信息低的两篇blog给拆了,这样好点.
14 min 中文