改善网站体验
我们会记录每日页面访问次数和页面类型,用于改进网站体验。
不会保存原始 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
题号
标题
难度
标签
通过率
提交数
P21387
[AtCoder] You will be given an integer a and a string s consisting of lowercase English letters as input.
普及-
模拟
0.0%
P21386
[AtCoder] In some other world, today is the day before Christmas Eve.
普及-
模拟
枚举
数学
0.0%
P21385
[AtCoder] Snuke is standing on a two-dimensional plane. In one operation, he can move by 1 in the positive x-direction, or move by 1 in the positive y-direction.
提高-
组合数学
数学
前缀和
0.0%
P21384
[AtCoder] We have A balls with the string S written on each of them and B balls with the string T written on each of them.
普及-
模拟
0.0%
P21383
[AtCoder] You have a digit sequence S of length 4. You are wondering which of the following formats S is in:
普及-
模拟
枚举
0.0%
P21382
[AtCoder] There is a square in the xy-plane. The coordinates of its four vertices are (x_1,y_1),(x_2,y_2),(x_3,y_3) and (x_4,y_4) in counter-clockwise order.
普及-
数学
计算几何
模拟
0.0%
P21381
[AtCoder] You are given a sequence a = \{a_1, ..., a_N\} with all zeros, and a sequence b = \{b_1, ..., b_N\} consisting of 0 and 1. The length of both is N.
提高+
动态规划
线段树
区间DP
0.0%
P21380
[AtCoder] The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese.
普及-
模拟
枚举
0.0%
P21379
[AtCoder] You have three tasks, all of which need to be completed.
普及-
枚举
贪心
排序
0.0%
P21378
[AtCoder] We have a string S consisting of lowercase English letters.
普及-
模拟
字符串
0.0%
P21377
[AtCoder] An integer N is a multiple of 9 if and only if the sum of the digits in the decimal representation of N is a multiple of 9.
普及-
数学
字符串
模拟
0.0%
P21376
[AtCoder] Given are an integer X and an integer sequence of length N: p_1, \ldots, p_N.
普及-
枚举
模拟
0.0%
P21375
[AtCoder] There are N+1 towns. The i-th town is being attacked by A_i monsters.
普及-
贪心
模拟
0.0%
P21374
[AtCoder] There are N cubes stacked vertically on a desk.
普及-
栈
贪心
模拟
0.0%
P21373
[AtCoder] Takahashi throws N dice, each having K sides with all integers from 1 to K. The dice are NOT pairwise distinguishable.
提高
组合数学
动态规划
数学
0.0%
P21372
[AtCoder] There are N children standing in a line from left to right. The activeness of the i-th child from the left is A_i.
普及
动态规划
贪心
排序
0.0%
P21371
[AtCoder] Find the largest integer that can be formed with exactly N matchsticks, under the following conditions:
普及
动态规划
贪心
数学
0.0%
P21370
[AtCoder] You are given positive integers N and M.
普及
数学
数论
组合数学
0.0%
P21369
[AtCoder] You are given two integers A and B.
提高
构造
模拟
0.0%
P21368
[AtCoder] Let us define the oddness of a permutation p = {p_1,\ p_2,\ ...,\ p_n} of {1,\ 2,\ ...,\ n} as \sum_{i = 1}^n |i - p_i|.
提高-
动态规划
组合数学
数学
0.0%
共 30055 道题目
上一页
第 437 / 1503 页
下一页
账号状态
截止时间:
每日签到
—
天
连续签到
签到后可获得对应连续天数奖励
本次奖励将在签到后显示