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