上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 64 下一页
摘要: 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 阅读(107) 评论(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 阅读(66) 评论(0) 推荐(0)
摘要: Tokitsukaze and Slash Draw 题目描述 在游戏王中有一张魔法卡叫做「一击必杀!居合抽卡」。 简单来说,当你发动这张卡后,你会从卡组最上方抽取一张卡,如果那张卡是「一击必杀!居合抽卡」的情况下,有大概率''一击必杀''打败对手。通常这张卡被玩家们称作''拔刀''。 在游戏王中, 阅读全文
posted @ 2024-02-06 13:38 onlyblues 阅读(195) 评论(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 阅读(62) 评论(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 阅读(49) 评论(0) 推荐(0)
摘要: [SDOI2009] HH的项链 题目描述 HH 有一串由各种漂亮的贝壳组成的项链。HH 相信不同的贝壳会带来好运,所以每次散步完后,他都会随意取出一段贝壳,思考它们所表达的含义。HH 不断地收集新的贝壳,因此,他的项链变得越来越长。 有一天,他突然提出了一个问题:某一段贝壳中,包含了多少种不同的贝 阅读全文
posted @ 2024-02-04 18:14 onlyblues 阅读(65) 评论(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 阅读(75) 评论(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 阅读(61) 评论(0) 推荐(0)
摘要: E - Revenge of "The Salary of AtCoder Inc." Problem Statement Aoki, an employee at AtCoder Inc., has his salary for this month determined by an intege 阅读全文
posted @ 2024-02-01 23:00 onlyblues 阅读(83) 评论(0) 推荐(0)
摘要: D. Blocking Elements You are given an array of numbers $a_1, a_2, \ldots, a_n$. Your task is to block some elements of the array in order to minimize 阅读全文
posted @ 2024-01-31 19:15 onlyblues 阅读(69) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 64 下一页
Web Analytics