- [CFEDU74 E] Keyboard Purchase
当在使用一指禅键入一个字符串的时候,你需要不停的移动手指。比如说输入“af”,手指需要跨过3个键(包括终点)输入“a”和“f”。
3 min 中文 - [CF EDU72D] Coloring Edges
You are given a directed graph with n vertices and m directed edges without self-loops or multiple edges.
1 min 中文 - [CF585D] Ticket Game
Monocarp and Bicarp live in Berland, where every bus ticket consists of n digits (n is an even number). During the evening walk Monocarp and Bicarp...
3 min 中文 - [CF585E] Marbles
Monocarp has arranged n colored marbles in a row. The color of the i-th marble is ai. Monocarp likes ordered things, so he wants to rearrange marbles...
3 min 中文 - 后缀自动机
> 然而就nm看不懂,先看不懂它的图是啥,又看不懂它的边是啥,现在还是看不懂它的边是咋找出来的。可是咱不想搞不清楚它是干嘛的就直接用啊靠。
4 min 中文 - [CF589C] primes and multiplication
设表示将x作分解后对每个质因子作用到1到y上求的乘积。
1 min 中文 - [CCPC2019 秦皇岛] Angel Beats
给出一些点,询问对于点,求其能和已知点形成多少个直角三角形。
3 min 中文 - [CF1221F] Choose a Sequence
Petya recently found a game "Choose a Square". In this game, there are nn points numbered from 11 to nn on an infinite field. The ii-th point has...
4 min 中文
Back
Blog
Page 10 - Showing 8 of 96 posts
View all posts by years →