改善网站体验
我们会记录每日页面访问次数和页面类型,用于改进网站体验。
不会保存原始 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
题号
标题
难度
标签
通过率
提交数
P16819
[HackerEarth] In Kingdom of Byteland,there are N jewellery shops that connected by road such that there is zero or more bidirectional way to go from one shop to another.
普及
图论
深度优先搜索
位运算
0.0%
P16818
[HackerEarth] You are given a NxM matrix consisting of 0s and 1s. Find the number of square frames with no 1s (each cell is 0) in this matrix. A frame of a fixed square is a group of cells each of th
提高
前缀和
枚举
模拟
0.0%
P16817
[AtCoder] Let S(n) denote the sum of the digits in the decimal notation of n.
普及-
模拟
数学
枚举
0.0%
P16816
[HackerEarth] Russian version of the problem can be read here.
提高-
字符串
后缀结构
哈希
0.0%
P16815
[HackerEarth] Roy is intrigued by the fact that the evaluated value of boolean expressions can easily vary depending upon the order of evaluation !
普及
区间DP
动态规划
组合数学
0.0%
P16814
[HackerEarth] Pussycat Sonya has an array A consisting of N integers (N is even). She can perform operations of two types:
普及-
动态规划
数论
区间DP
0.0%
P16813
[HackerEarth] Link to Russian translation of the problem.
提高
动态规划
状压DP
组合数学
0.0%
P16812
[HackerEarth] Learning about all the sinusoidal functions of trigonometry, Rahul has grown fond of numbers, whose digits increase and decrease alternatively.
提高
数位DP
动态规划
二分
0.0%
P16811
[HackerEarth] Harsh just loves numbers and loves to have fun with them . Apparently he has two numbers with him , say X and Y . Both of them are integers . Now from these numbers he wants another numb
普及
数学
贪心
模拟
0.0%
P16810
[AtCoder] You are given integers N and K. Find the number of triples (a,b,c) of positive integers not greater than N such that a+b,b+c and c+a are all multiples of K.
普及-
数学
数论
组合数学
0.0%
P16809
[HackerEarth] You are given an array A containing N integers. Let P be the product of all the elements of A. Your task is to answer Q queries. Each query consists of a single integer X. In order to an
普及
数论
数学
枚举
0.0%
P16808
[AtCoder] Given is an integer N.
提高-
枚举
数学
暴力
0.0%
P16807
[AtCoder] To decide which is the strongest among Rock, Paper, and Scissors, we will hold an RPS tournament.
提高-
模拟
分治
0.0%
P16806
[HackerEarth] Rose- a car manufacturer finds herself as the mayor of TreeTop. The city of TreeTop is in the form of a tree with N nodes and N-1 roads joining them. For each pair of nodes u and v that
提高-
二分
树
深度优先搜索
0.0%
P16805
[HackerEarth] BooBoo is a smart baby who likes to travel around cities. And he is on a trip to Europe right now! Smart that he is, he has made a list of N cities to visit, and for each city he has M p
普及
动态规划
数论
枚举
0.0%
P16804
[HackerEarth] Monique and Paul both enjoy math and programming a lot. A few days ago they decided to compete against each other in many kinds of problem solving competitions. They solved hundreds of p
提高
图论
最小生成树
组合数学
0.0%
P16803
[AtCoder] Takahashi is playing a board game called Sugoroku.
提高-
动态规划
贪心
广度优先搜索
0.0%
P16802
[AtCoder] It is November 18 now in Japan. By the way, 11 and 18 are adjacent Lucas numbers.
普及-
递推
数学
0.0%
P16801
[AtCoder] Iroha loves Haiku. Haiku is a short form of Japanese poetry. A Haiku consists of three phrases with 5, 7 and 5 syllables, in this order.
普及-
枚举
模拟
0.0%
P16800
[AtCoder] Let {\rm comb}(n,r) be the number of ways to choose r objects from among n objects, disregarding order.
普及
数学
组合数学
枚举
0.0%
共 30066 道题目
上一页
第 665 / 1504 页
下一页
账号状态
截止时间:
每日签到
—
天
连续签到
签到后可获得对应连续天数奖励
本次奖励将在签到后显示