上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页
摘要: time limit per test 2 seconds memory limit per test 256 megabytes  This is an interactive problem. There is a secret sequence a1,a2,…,a2n−1,a2n, wh 阅读全文
posted @ 2025-10-13 08:39 bz02_2023f2 阅读(8) 评论(0) 推荐(0)
摘要: time limit per test 2 seconds memory limit per test 256 megabytes  Given a positive integer x, let f(x) be the positive integer formed by reversing 阅读全文
posted @ 2025-10-13 08:01 bz02_2023f2 阅读(1) 评论(0) 推荐(0)
摘要: time limit per test 5 s memory limit per test 1024 megabytes  There are n little pigs in Pigeland. All of them are proficient in competitive progra 阅读全文
posted @ 2025-10-11 18:27 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: time limit per test 1 second memory limit per test 1024 megabytes  Heavy-light Decomposition (HLD) is a useful technique applied to trees for effic 阅读全文
posted @ 2025-10-11 18:25 bz02_2023f2 阅读(10) 评论(0) 推荐(0)
摘要: time limit per test 2 seconds memory limit per test 1024 megabytes  There is a building with 109 floors but only 1 elevator. Initially, the elevato 阅读全文
posted @ 2025-10-11 18:23 bz02_2023f2 阅读(3) 评论(0) 推荐(0)
摘要: time limit per test 1 second memory limit per test 1024 megabytes  There is a grid with n rows and m columns. The cells in the grid are numbered fr 阅读全文
posted @ 2025-10-11 18:22 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: time limit per test 1 second memory limit per test 1024 megabytes  Pigeland University will host the 2224 Animal Collegiate Programming Contest (AC 阅读全文
posted @ 2025-10-11 18:18 bz02_2023f2 阅读(0) 评论(0) 推荐(0)
摘要: 题目背景 青蛙。 题目描述 给你一个长为 n 的序列 a,有 m 次询问,每次询问给定 l,r,x,求 [l,r] 区间中小于等于 x 的元素个数。 输入格式 第一行两个数 n,m。 第二行 n 个数表示序列 a。 之后 m 行,每行三个数 l,r,x 表示一次询问。 输出格式 对每个询问,输出一行 阅读全文
posted @ 2025-10-11 07:54 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: 题目背景 在一个荒凉的墓地上,有一个令人尊敬的守墓人,他看守的墓地从来没有被盗过, 所以人们很放心的把自己的先人的墓安顿在他那。 守墓人能看好这片墓地是必然而不是偶然…… 因为……守墓人懂风水 0.0 题目描述 他把墓地分为主要墓碑和次要墓碑, 主要墓碑只能有 1 个, 守墓人把他记为 1 号, 而 阅读全文
posted @ 2025-10-11 07:51 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: 题目描述 如题,已知一个数列,你需要进行下面两种操作: 将某区间每一个数加上 x; 求出某一个数的值。 输入格式 第一行包含两个整数 N、M,分别表示该数列数字的个数和操作的总个数。 第二行包含 N 个用空格分隔的整数,其中第 i 个数字表示数列第 i 项的初始值。 接下来 M 行每行包含 2 或  阅读全文
posted @ 2025-10-10 21:59 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 36 下一页