Problems
Pick a problem, code in the editor, and watch the judge run real test cases. The archive is open to browse
Under construction
- Medium5Judgeable
Segment tree, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Brute force+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
String matching, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 2048 MB
- Medium5Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Hash map+1
No attempts yet
- Time limit
- 8s
- Memory limit
- 1024 MB
- Medium5Judgeable
Geometry, Brute force
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Brute force, String+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Hash map+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Heap, Sorting+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Greedy+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Greedy+1
No attempts yet
- Time limit
- 8s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Simulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Hash map+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Hash map, String
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Binary search+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Math+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, BFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Bit manipulation+1
No attempts yet
- Time limit
- 3.5s
- Memory limit
- 1024 MB
- Judgeable
Math, Tree+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Judgeable
Brute force, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Binary search+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Two pointers
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Hash map, Geometry+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Game theory, Bit manipulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Prefix sum
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Intervals+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Implementation
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 512 MB
- Medium5Judgeable
String, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Divide and conquer, Recursion+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Matrix, Stack+1
No attempts yet
- Time limit
- 7s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Probability
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Sorting
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Brute force, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, String+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Minimum spanning tree, Union-find+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Combinatorics+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, Stack+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Segment tree, Implementation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Combinatorics, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Segment tree, Array
No attempts yet
- Time limit
- 2.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, Shortest path
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Simulation
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Dynamic programming
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Probability, Brute force+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Graph+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Union-find, Sorting+1
No attempts yet
- Time limit
- 0.25s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Recursion
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Math, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Bit manipulation, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Segment tree
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Heap, Simulation+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Hash map+1
No attempts yet
- Time limit
- 8s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, BFS+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Binary search
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Intervals+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, DFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Two pointers+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Sorting+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Divide and conquer, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, DFS
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Simulation+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Brute force, Simulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Combinatorics+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Matrix, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB