01 2023 档案
摘要:# [ZJOI2016]小星星 ## 题目描述 小 Y 是一个心灵手巧的女孩子,她喜欢手工制作一些小饰品。她有 颗小星星,用 条彩色的细线串了起来,每条细线连着两颗小星星。 有一天她发现,她的饰品被破坏了,很多细线都被拆掉了。这个饰品只剩下了 条细线,但通过这些细线,这颗
阅读全文
摘要:# [IOI2022] 最罕见的昆虫 ## 题目描述 Pak Blangkon 的房子四周有 只昆虫,编号为 至 。每只昆虫有一个**类型**,以从 至 (包含 和 )的整数编号。可能有多只昆虫类型相同。 假设将昆虫按照类型分组。我们
阅读全文
摘要:Problem StatementA museum exhibits jewels, Jewel . The coordinates of Jewel are (the museum can be regarded as a tw
阅读全文
摘要:Problem StatementYou are given a directed graph with vertices and edges. The vertices are numbered . The -th edge is d
阅读全文
摘要:Problem StatementSnuke is playing with red and blue balls, placing them on a two-dimensional plane. First, he performed operations to place red ba
阅读全文
摘要:Problem StatementSnuke is having another barbeque party. This time, he will make one serving of Skewer Meal. He has a stock of Skewer Meal Packs.
阅读全文
摘要:[SDOI2016]储能表 题目描述 有一个 n 行 m 列的表格,行从 0 到 n−1 编号,列从 0 到 m−1 编号。每个格子都储存着能量。最初,第 i 行第 j 列的格子储存着 (i xor j) 点能量。所以,整个表格储存的总能量是, $$\sum_{i=0}^{n-1} \sum_{j=
阅读全文
摘要:Problem StatementYou are given a simple connected undirected graph with vertices and edges. (A graph is said to be simple if it has no multi-e
阅读全文
摘要:Problem StatementThere are people and nations, labeled as Person , Person , , Person and Nation , Nation , , N
阅读全文
摘要:Problem StatementGiven a sequence of numbers, answer the following questions. In the -th question, you are given integers and $R_
阅读全文
摘要:Problem StatementFor a sequence of length , , consisting of integers between and , inclusive, and an integer $i\ (1
阅读全文
摘要:Problem StatementThis is an interactive task (where your program interacts with the judge's program via Standard Input and Output). You are given inte
阅读全文
摘要:Problem StatementThere is a grid with squares, numbered from left to right. Takahashi prepared paints of colors and pai
阅读全文
摘要:Problem StatementTakahashi Elementary School has new students. For , the name of the -th new student is (which is a
阅读全文
摘要:Problem StatementYou are given a sequence of length consisting of positive integers, where the elements of are distinc
阅读全文
摘要:Problem StatementFind the sum of popcounts of all integers between and , inclusive, such that the remainder when divided by equals . Her
阅读全文
摘要:Problem StatementGiven is a permutation of , and an integer . Additionally, queries are given. The -t
阅读全文
摘要:Problem StatementThere is a grid, with blocks on some squares. The grid is described by strings , as follows. If t
阅读全文
摘要:Problem StatementThis is an interactive task, where your and the judge's programs interact via Standard Input and Output. You and the judge will follo
阅读全文
摘要:Problem StatementA box contains balls, each with an integer between and written on it. For , the integer written on
阅读全文
摘要:Problem StatementWe have a directed graph with vertices, called Vertex , Vertex , , Vertex . For each pair of integers such that
阅读全文
摘要:Problem StatementYou are given an undirected tree with vertices. Let us call the vertices Vertex , Vertex , , Vertex . For each $
阅读全文
摘要:Problem StatementTakahashi has apple seedlings, banana seedlings, and cherry seedlings. Seedlings of the same kind cannot be distinguished
阅读全文