改善网站体验
我们会记录每日页面访问次数和页面类型,用于改进网站体验。
不会保存原始 IP,也不会记录单次访问时间。分析默认开启,您可以拒绝。
拒绝
接受并继续
谷物 OJ
首页
题库
论坛
提交记录
排行榜
竞赛
OIer 手册
开发者日志
搜索
搜索中
订阅
登录
注册
题库
所有难度
入门
普及-
普及
普及+
提高-
提高
提高+
省选
NOI
标签筛选
搜索
标签筛选
基础算法
模拟
12660
枚举
5780
暴力
2091
贪心
7772
构造
3105
排序
3439
递推
667
二分
1937
三分
85
双指针
973
前缀和
1450
差分
240
分治
371
倍增
75
容斥
287
动态规划
动态规划
5885
背包
276
区间DP
231
树形DP
314
状压DP
367
数位DP
171
记忆化搜索
178
搜索
搜索
1255
深度优先搜索
1091
广度优先搜索
510
折半搜索
65
数学
数学
11898
数论
2411
组合数学
3070
概率期望
672
博弈
709
高精度
313
矩阵
402
线性代数
69
快速傅里叶变换
276
计算几何
978
数据结构
数据结构
2576
栈
210
队列
83
单调栈
86
单调队列
43
堆
177
哈希
1146
哈希表
136
并查集
829
树状数组
156
线段树
410
平衡树
33
ST表
3
可持久化
32
启发式合并
23
莫队
11
扫描线
136
字符串
字符串
3257
KMP
82
字典树
139
后缀结构
159
表达式解析
184
图论
图论
2707
树
1703
最短路
892
最小生成树
149
拓扑排序
171
强连通分量
84
最近公共祖先
179
树链剖分
33
二分图
93
二分图匹配
160
网络流
203
差分约束
43
2-SAT
45
点分治
4
其他
位运算
1369
特殊题
507
题源
洛谷
3062
Codeforces
7888
AtCoder
6267
USACO
518
CodeChef
3496
HackerEarth
2139
AOJ
2118
Kattis
1236
GeeksforGeeks
2462
HackerRank
807
竞赛
IOI
43
NOIP
39
CSP-S
30
CSP-J
28
IOI2023
11
2019
10
IOI2021
10
IOI2022
10
2025
9
历年真题
9
2020
8
2021
8
2022
8
2023
8
2024
8
IOI2020
6
IOI2024
6
题号
标题
难度
标签
通过率
提交数
P16839
[HackerEarth] In the Pradnya Planet, there are n aliens which have different powers.
提高-
线段树
数据结构
模拟
0.0%
P16838
[HackerEarth] You are given a weighted undirected graph consisting of N nodes (numbered from 0 to N) and M edges. Print the weight of it's Minimum Spanning Tree.
普及
最小生成树
图论
模拟
0.0%
P16837
[HackerEarth] Instead of one grid various square grids of odd length came into existence later after the old grid was recovered. Now researchers came to know that for such grids the sum of all the num
普及-
组合数学
数学
动态规划
0.0%
P16836
[HackerEarth] Ted has a random problem. This morning, he took two arrays consisting of permutations of the first N natural numbers and concatenated them together into a single array. But during his lu
普及
数学
组合数学
概率期望
0.0%
P16835
[Kattis] Tutorial
普及-
模拟
数学
0.0%
P16834
[HackerEarth] There are N marbles in a line, numbered 1 through N from left to right. Count numbers of ways to remove exactly M marbles such that there are exactly C remaining connected components. A
提高
组合数学
数学
动态规划
0.0%
P16833
[HackerEarth] Little Sam has a special liking for numbers as well as the famous Movie and TV-Series TRANSFORMERS.
普及
数论
枚举
模拟
0.0%
P16832
[HackerEarth] You are given a 1-indexed array A of the length N, and Q queries to answer.
提高
数据结构
莫队
前缀和
0.0%
P16831
[HackerEarth] Lazy boy has gone home during his vacations. As it is the season of Holi, his mother expects him to
普及-
枚举
数学
暴力
0.0%
P16830
[HackerEarth] You are asked to calculate factorials of some small positive integers.
普及-
高精度
数学
0.0%
P16829
[HackerEarth] Mehta was doing his usual office work when all of a sudden, he refreshes his Gmail. It contained the mail of his not so old friend who was still jobless and asking Mehta for a certain he
提高
数位DP
数学
枚举
0.0%
P16828
[AtCoder] Given is a string S representing the day of the week today.
普及-
模拟
枚举
数学
0.0%
P16827
[HackerEarth] Today is Akshat's Birthday and he has invited some of the employees of his company which he has recently started. Every employee has a unique label from 1 to N. Akshat being the CEO, has
提高
树形DP
动态规划
深度优先搜索
0.0%
P16826
[HackerEarth] .You are given two strings C and D and you have to find how many times you can form string D from string C. You are only allow ed to delete some characters from string C and change posit
普及
组合数学
动态规划
字符串
0.0%
P16825
[HackerEarth] This year all the lazy students of NIT have been given a project on which they have to work. They decided that they will work on the project only during the time between the classes they
普及
贪心
枚举
模拟
0.0%
P16824
[HackerEarth] Alice and Bob are playing a game. They both agree up on a number M and the score is set to 0 initially. Alice chooses t > 0 consecutive integers starting from 1 i.e numbers 1, 2, ...t. B
提高
数学
数论
枚举
0.0%
P16823
[HackerEarth] To plan for Final Day attack on the city of Lanka Sugreev decided to steal the map of the city from the Central Library of Lanka. As Ravan is quiet smart, he has made lot of fake maps an
普及
图论
差分约束
最短路
0.0%
P16822
[HackerEarth] Micro was playing with a graph gifted to him by his friend on his birthday. The graph contains N vertices and M edges. All the edges are bidirectional. On each vertex of the graph there
普及-
图论
深度优先搜索
模拟
0.0%
P16821
[HackerEarth] The longest common subsequence (LCS) problem is to find the longest subsequence common to two given sequences. (Note that a subsequence is different from a substring, for the terms of th
提高
数学
数论
组合数学
0.0%
P16820
[HackerEarth] Nandu and Rani (husband and wife) live in a city consisting of N houses (1, 2, 3, ... , N) and N-1 roads, each road being of length 1 Km and connecting some 2 houses. Moreover, every hou
普及
树
深度优先搜索
图论
0.0%
共 30066 道题目
上一页
第 664 / 1504 页
下一页
账号状态
截止时间:
每日签到
—
天
连续签到
签到后可获得对应连续天数奖励
本次奖励将在签到后显示