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