![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
第十届山东省赛补题
名字在哪啊
没有简介
展开
-
L - Median
Description Recall the definition of the median of nn elements where nn is odd: sort these elements and the median is the (n+1)2(n+1)2-th largest element. In this problem, the exact value of each elem...原创 2019-05-18 23:00:29 · 700 阅读 · 0 评论 -
K - Happy Equation
Description Little Sub has just received an equation, which is shown below, as his birthday gift. ax≡xa(mod 2p)ax≡xa(mod 2p) Given the value of aa, please help Little Sub count the number of xx (1≤x≤2...原创 2019-05-19 10:19:41 · 526 阅读 · 0 评论 -
A - Calandar
Description On a planet far away from Earth, one year is composed of 12 months, and each month always consists of 30 days. Also on that planet, there are 5 days in a week, which are Monday, Tuesday, W...原创 2019-05-19 10:33:57 · 551 阅读 · 0 评论 -
C - Wandering Robot
Description DreamGrid creates a programmable robot to explore an infinite two-dimension plane. The robot has a basic instruction sequence a1,a2,…ana1,a2,…an and a “repeating parameter” kk , which toge...原创 2019-05-19 10:42:22 · 772 阅读 · 0 评论 -
D - Game on a Graph
Description There are kk people playing a game on a connected undirected simple graph with nn (n≥2n≥2) vertices (numbered from 0 to (n−1)(n−1)) and mm edges. These kk people, numbered from 0 to (k−1)(...原创 2019-05-19 10:54:15 · 380 阅读 · 0 评论 -
F - Stones in the Bucket
Description There are nn buckets on the ground, where the ii-th bucket contains aiai stones. Each time one can perform one of the following two operations: Remove a stone from one of the non-empty buc...原创 2019-05-19 11:16:36 · 449 阅读 · 0 评论 -
M - Sekiro
Description Sekiro: Shadows Die Twice is an action-adventure video game developed by FromSoftware and published by Activision. In the game, the players act as a Sengoku period shinobi known as Wolf as...原创 2019-05-19 11:28:02 · 617 阅读 · 0 评论 -
H - Tokens on the Segments
Description Consider nn segments on a two-dimensional plane, where the endpoints of the ii-th segment are (li,i)(li,i) and (ri,i)(ri,i). One can put as many tokens as he likes on the integer points of...原创 2019-05-20 16:43:30 · 817 阅读 · 0 评论