上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 63 下一页
摘要: E. Space Harbour There are $n$ points numbered $1$ to $n$ on a straight line. Initially, there are $m$ harbours. The $i$-th harbour is at point $X_i$ 阅读全文
posted @ 2024-02-13 12:59 onlyblues 阅读(31) 评论(0) 推荐(0)
摘要: E. Klever Permutation You are given two integers $n$ and $k$ ($k \le n$), where $k$ is even. A permutation of length $n$ is an array consisting of $n$ 阅读全文
posted @ 2024-02-10 12:07 onlyblues 阅读(132) 评论(0) 推荐(0)
摘要: G. Paint Charges A horizontal grid strip of $n$ cells is given. In the $i$-th cell, there is a paint charge of size $a_i$. This charge can be: either 阅读全文
posted @ 2024-02-09 19:14 onlyblues 阅读(100) 评论(0) 推荐(0)
摘要: Tokitsukaze and Min-Max XOR 题目描述 Tokitsukaze 有一个长度为 $n$ 的序列 $a_1,a_2,\ldots,a_n$​ 和一个整数 $k$。 她想知道有多少种序列 $b_1,b_2,\ldots,b_m$​,满足: $1 \leq b_i \leq n$ 阅读全文
posted @ 2024-02-06 18:40 onlyblues 阅读(58) 评论(0) 推荐(0)
摘要: Tokitsukaze and Slash Draw 题目描述 在游戏王中有一张魔法卡叫做「一击必杀!居合抽卡」。 简单来说,当你发动这张卡后,你会从卡组最上方抽取一张卡,如果那张卡是「一击必杀!居合抽卡」的情况下,有大概率''一击必杀''打败对手。通常这张卡被玩家们称作''拔刀''。 在游戏王中, 阅读全文
posted @ 2024-02-06 13:38 onlyblues 阅读(176) 评论(0) 推荐(0)
摘要: F - Product Equality Problem Statement You are given $N$ integers $A_1, A_2, \dots, A_N$.Find the number of triples of integers $(i, j, k)$ that satis 阅读全文
posted @ 2024-02-04 21:23 onlyblues 阅读(49) 评论(0) 推荐(0)
摘要: G - Smaller Sum Problem Statement You are given a sequence $A=(A_1,A_2,\dots,A_N)$ of length $N$. Answer the following $Q$ queries. The $i$-th query i 阅读全文
posted @ 2024-02-04 20:31 onlyblues 阅读(41) 评论(0) 推荐(0)
摘要: [SDOI2009] HH的项链 题目描述 HH 有一串由各种漂亮的贝壳组成的项链。HH 相信不同的贝壳会带来好运,所以每次散步完后,他都会随意取出一段贝壳,思考它们所表达的含义。HH 不断地收集新的贝壳,因此,他的项链变得越来越长。 有一天,他突然提出了一个问题:某一段贝壳中,包含了多少种不同的贝 阅读全文
posted @ 2024-02-04 18:14 onlyblues 阅读(53) 评论(0) 推荐(0)
摘要: C. Did We Get Everything Covered? You are given two integers $n$ and $k$ along with a string $s$. Your task is to check whether all possible strings o 阅读全文
posted @ 2024-02-03 17:15 onlyblues 阅读(65) 评论(0) 推荐(0)
摘要: D. Good Trip There are $n$ children in a class, $m$ pairs among them are friends. The $i$-th pair who are friends have a friendship value of $f_i$. Th 阅读全文
posted @ 2024-02-03 14:22 onlyblues 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 63 下一页
Web Analytics