上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
2024年9月13日
摘要: #include<bits/stdc++.h> using namespace std; #define x first #define y second typedef pair<int,int> PII; typedef long long ll; typedef unsigned long l 阅读全文
posted @ 2024-09-13 11:57 ruoye123456 阅读(25) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define x first #define y second typedef pair<int,int> PII; typedef long long ll; typedef unsigned long l 阅读全文
posted @ 2024-09-13 11:56 ruoye123456 阅读(25) 评论(0) 推荐(0)
摘要: #include<bits/stdc++.h> using namespace std; #define x first #define y second typedef pair<int,int> PII; typedef long long ll; typedef unsigned long l 阅读全文
posted @ 2024-09-13 11:55 ruoye123456 阅读(53) 评论(0) 推荐(0)
2024年8月25日
摘要: 题目描述 给定一个序列\(a_1,a_2,\dots,a_n\),\(m\)次操作,每次给定\(l,r,k\),问\(a_l,a_{l+1},\dots,a_r\)中第\(k\)小的值。 输入 第一行一个正整数\(T(1\leq T\leq 3)\),表示测试数据的数量。 每组数据第一行\(n,m( 阅读全文
posted @ 2024-08-25 17:09 ruoye123456 阅读(19) 评论(0) 推荐(0)
2024年8月24日
摘要: 题目描述 给定一个序列\(a_1,a_2,\dots,a_n\),\(m\)个询问。 每个询问指定一个区间\([l,r]\),你需要输出\(a_l,a_{l+1},\dots,a_r\)这些数字里出现次数最多的数的出现次数。 输入 第一行一个整数\(T(1\leq T\leq 6)\),表示测试数据 阅读全文
posted @ 2024-08-24 12:56 ruoye123456 阅读(51) 评论(0) 推荐(0)
2024年8月23日
摘要: 题目描述 The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the time bomb 阅读全文
posted @ 2024-08-23 23:09 ruoye123456 阅读(40) 评论(0) 推荐(0)
2024年8月22日
摘要: 题目描述 有一排\(n\)棵树,第\(i\)棵树的高度是\(d_i\)。有一只鸟要从第\(1\)棵树飞到第\(n\)棵树。 如果鸟降落在第\(i\)棵树,那么它下一步可以降落到第\(i+1,i+2,\dots,i+k\)棵树之中的一棵。 如果鸟降落到一棵不矮于当前树的树,那么它的劳累值会\(+1\) 阅读全文
posted @ 2024-08-22 23:16 ruoye123456 阅读(21) 评论(0) 推荐(0)
摘要: 题目描述 第一行有三个整数\(n,m,c(1\leq n\leq 10^6,1\leq m\leq 10^4,0\leq c\leq 10^4)\)。 第二行\(n\)个非负整数\(a_1,a_2,\dots,a_n(1\leq a_i\leq 10^6)\)。 求有多少个i满足[i...i+m-1 阅读全文
posted @ 2024-08-22 22:37 ruoye123456 阅读(15) 评论(0) 推荐(0)
摘要: 题目描述 \(n\)个人,每个人手上有一个数\(a_i\)。 将这些人分成若干组,组没有编号,要求每组人手上的数字之和都是质数。 求合法的分组方案数。 输入 第一行一个正整数\(T(1\leq T\leq 5)\),表示测试数据的组数。 每组数据第一行一个正整数\(n(1\leq n\leq 15) 阅读全文
posted @ 2024-08-22 17:00 ruoye123456 阅读(32) 评论(0) 推荐(0)
摘要: 题目描述 After trying hard for many years, Victor has finally received a pilot license. To have a celebration, he intends to buy himself an airplane and f 阅读全文
posted @ 2024-08-22 16:09 ruoye123456 阅读(17) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页