改善网站体验
我们会记录每日页面访问次数和页面类型,用于改进网站体验。
不会保存原始 IP,也不会记录单次访问时间。分析默认开启,您可以拒绝。
拒绝
接受并继续
谷物 OJ
首页
题库
论坛
提交记录
排行榜
竞赛
OIer 手册
开发者日志
搜索
搜索中
订阅
登录
注册
题库
所有难度
入门
普及-
普及
普及+
提高-
提高
提高+
省选
NOI
标签筛选
搜索
标签筛选
基础算法
模拟
12660
枚举
5780
暴力
2091
贪心
7771
构造
3105
排序
3438
递推
667
二分
1937
三分
85
双指针
973
前缀和
1449
差分
239
分治
371
倍增
75
容斥
287
动态规划
动态规划
5884
背包
276
区间DP
231
树形DP
313
状压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
可持久化
31
启发式合并
23
莫队
11
扫描线
136
字符串
字符串
3257
KMP
82
字典树
139
后缀结构
159
表达式解析
184
图论
图论
2706
树
1703
最短路
891
最小生成树
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
题号
标题
难度
标签
通过率
提交数
P20421
[AtCoder] You are given an integer N.
普及-
枚举
数学
0.0%
P20420
[AtCoder] The window of Takahashi's room has a width of A. There are two curtains hung over the window, each of which has a horizontal length of B. (Vertically, the curtains are long enough to cover t
普及-
数学
模拟
0.0%
P20419
[AtCoder] We have held a popularity poll for N items on sale. Item i received A_i votes.
普及-
模拟
排序
数学
0.0%
P20418
[AtCoder] You are given N positive integers a_1, a_2, ..., a_N.
普及-
数学
枚举
贪心
0.0%
P20417
[AtCoder] Takahashi has a deposit of 100 yen (the currency of Japan) in AtCoder Bank.
普及-
模拟
数学
0.0%
P20416
[AtCoder] Given an integer N, find the base -2 representation of N.
普及-
数学
模拟
0.0%
P20415
[AtCoder] We have a string S of length N consisting of R, G, and B.
提高-
枚举
组合数学
字符串
0.0%
P20414
[AtCoder] Akari has n kinds of flowers, one of each kind.
普及
组合数学
数学
快速傅里叶变换
0.0%
P20413
[AtCoder] Let us denote by f(x, m) the remainder of the Euclidean division of x by m.
普及
模拟
数学
枚举
0.0%
P20412
[AtCoder] Takahashi, who is a novice in competitive programming, wants to learn M algorithms.
普及-
枚举
暴力
动态规划
0.0%
P20411
[AtCoder] We have N switches with "on" and "off" state, and M bulbs. The switches are numbered 1 to N, and the bulbs are numbered 1 to M.
普及-
枚举
暴力
位运算
0.0%
P20410
[AtCoder] Given is a directed graph G with N vertices and M edges.
提高-
图论
构造
深度优先搜索
0.0%
P20409
[HackerEarth] YOLO is a simple card game played between two players with a normal deck of 52 WWE cards, each having a rank, forming a sequence of 52 distinct values.
普及
模拟
枚举
贪心
0.0%
P20408
[HackerEarth] Murgi is very generous. Today she is very happy as she got placed in her dream company. To celebrate this moment, she decided to distribute some Candies among
普及
数学
数论
枚举
0.0%
P20407
[HackerEarth] Gru needs to give a string to each of his minions. There is huge string S that is known to all. He doesn't want to work much, hence decides to give each of them, some prefix of S.
普及
字符串
KMP
前缀和
0.0%
P20406
[HackerEarth] The SRA company wants to hold a web search championship. There were n computers given for the competition, each of them is connected to the Internet. The organizers believe that the data
普及
排序
贪心
0.0%
P20405
[HackerEarth] There are N ninjas in a hidden ninja village. The main source of this village's income is the fees of the jobs completed by these N ninja. These N ninja follow a linear heirarchy. You ar
普及
状压DP
动态规划
贪心
0.0%
P20404
[HackerEarth] Andi and Bob were two great friends. The tales of their friendship were famous all over the Hackland. Andi liked watching Takeshi's Castle while Bob loved Beyblade.
普及
博弈
数学
组合数学
0.0%
P20403
[HackerEarth] The two renowned houses of the Seven Kingdoms - The Starks & The Lannisters have a rather dull relationship. "The Lannisters always pays their debts" - says Tywin, the Head of the Lannis
普及
博弈
数学
0.0%
P20402
[HackerEarth] One day Mehak and Meenal were having a fight between them To resolve the dispute a question was given to both of them.
普及
差分
模拟
0.0%
共 30055 道题目
上一页
第 485 / 1503 页
下一页
账号状态
截止时间:
每日签到
—
天
连续签到
签到后可获得对应连续天数奖励
本次奖励将在签到后显示