改善网站体验
我们会记录每日页面访问次数和页面类型,用于改进网站体验。
不会保存原始 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
题源
洛谷
3056
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
题号
标题
难度
标签
通过率
提交数
P18660
[HackerEarth] Ma5termind is very fond of ice-creams. He bought himself N ice-creams of two types which are represented in the form of string of 0's and 1's such that 0 represents ice-cream of type 1 a
普及-
贪心
模拟
字符串
0.0%
P18659
[AtCoder] You are given two integers K and S.
普及-
枚举
数学
0.0%
P18658
[HackerEarth] One night, while sitting around a campfire, Rory Mercury tells a strange story from a long time ago…
提高
并查集
模拟
前缀和
0.0%
P18657
[HackerEarth] Bob likes DSD Numbers.DSD Number is a number which is divisible by its Digit Sum in Decimal Representation.
普及
数位DP
动态规划
数学
0.0%
P18656
[HackerEarth] Nam loves animals. That's why he raised a lot of pets: D dogs and C cats. Dogs keep his house away from thief, while cats chase mice. Hence, one day Nam put all his pets in a straight li
提高
组合数学
数学
容斥
0.0%
P18655
[HackerEarth] View Russian Translation
普及
枚举
暴力
贪心
0.0%
P18654
[HackerEarth] Bob and Alice like to play the game tower of Hanoi. One day Alice challenges Bob to build the tallest tower from a
普及-
动态规划
排序
0.0%
P18653
[HackerEarth] Given an nxm board with a number between -1 and nxm in every entries.
提高
状压DP
搜索
深度优先搜索
0.0%
P18652
[HackerEarth] Panda loves to shop! And well, anyone who loves to shop gets a huge amount of happiness even after a tiring session of window shopping.
普及
动态规划
数据结构
线段树
0.0%
P18651
[HackerEarth] The far away land of Edinbrugh is going to war with the land of eternal darkness, Darkalvennia. King James the III, the king of Edinbrugh calls upon his war council to formulate the batt
普及-
枚举
模拟
容斥
0.0%
P18650
[HackerEarth] As usual Alice and bob are playing a game. Alice will always take the first turn, after which they will take alternate turns and player who won't be able to make a move in
普及
博弈
数论
动态规划
0.0%
P18649
[HackerEarth] Pussycat Sonya has N blocks consisting of integers. You may assume that block is a one-dimensional array. She wants to put them all in the box of length M in such a way that they don't o
普及
动态规划
背包
0.0%
P18648
[HackerEarth] You are now studying in IIN and have to follow the curriculum. Here is how the curriculum is structured.
普及
组合数学
数学
排序
0.0%
P18647
[HackerEarth] Little Jhool is just not a smart algorithmic coder, he regularly contributes to open source, too. This year, he's managed to be selected for a project in the prestigious Google Summer of
提高
贪心
排序
模拟
0.0%
P18646
[HackerEarth] A school has N students, numbered from 1 to N. Each student wears a T shirt of some color. The T shirt of the i^th student is of color** Ci**.
提高
动态规划
树形DP
组合数学
0.0%
P18645
[AtCoder] There are N towns in a coordinate plane. Town i is located at coordinates (x_i, y_i). The distance between Town i and Town j is \sqrt{\left(x_i-x_j\right)^2+\left(y_i-y_j\right)^2}.
普及-
枚举
数学
概率期望
0.0%
P18644
[AtCoder] We have three stones at points (0, 0), (1,0), and (0,1) on a two-dimensional plane.
提高
数学
构造
模拟
0.0%
P18643
[AtCoder] As a token of his gratitude, Takahashi has decided to give his mother an integer sequence.
提高-
数学
贪心
枚举
0.0%
P18642
[HackerEarth] As Lord Rama's army is approaching Lanka they have to pass one last hurdle and that is the ocean in between. They have decided to construct a bridge made of stones. But before they start
普及
概率期望
数学
模拟
0.0%
P18641
[HackerEarth] View Russian Translation
提高-
动态规划
单调队列
双指针
0.0%
共 30060 道题目
上一页
第 573 / 1503 页
下一页
账号状态
截止时间:
每日签到
—
天
连续签到
签到后可获得对应连续天数奖励
本次奖励将在签到后显示