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
Dynamic programming, Brute force+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Brute force, BFS+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Graph+1
No attempts yet
- Time limit
- 10s
- Memory limit
- 512 MB
- Medium5Judgeable
Graph, Shortest path+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Graph, BFS+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Implementation+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Brute force, Backtracking+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Graph, Minimum spanning tree+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Binary search, Greedy+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Judgeable
Stack, Array+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
BFS, Graph+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Judgeable
Greedy, Number theory+2
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Two pointers+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Prefix sum, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Intervals+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Greedy, Sliding window
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Math+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Math+2
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Implementation+2
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Shortest path+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Math+2
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Graph+2
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Prefix sum, Matrix+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Prefix sum, String+2
No attempts yet
- Time limit
- 6s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Combinatorics
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Brute force+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Implementation, Simulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Recursion, String+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Topological sort, Dynamic programming+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Sorting
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Two pointers, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Matrix+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Brute force+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Number theory, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Number theory, Prefix sum+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB
- Medium5Judgeable
Greedy, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB
- Medium5Judgeable
Binary search, BFS+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Backtracking, Simulation+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 512 MB
- Medium5Judgeable
String, String matching+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
String matching, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 64 MB
- Medium5Judgeable
Geometry, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Sorting+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Sorting+2
No attempts yet
- Time limit
- 5s
- Memory limit
- 512 MB
- Medium5Judgeable
Number theory, Combinatorics+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Math+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Brute force+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Implementation+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Brute force+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Greedy+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Probability, Dynamic programming+2
No attempts yet
- Time limit
- 6s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Greedy+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Prefix sum+1
No attempts yet
- Time limit
- 6s
- Memory limit
- 512 MB
- Medium5Judgeable
Binary search, Math+2
No attempts yet
- Time limit
- 3s
- Memory limit
- 512 MB
- Medium5Judgeable
Implementation, Simulation+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Binary search+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Math+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Combinatorics+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Math+2
No attempts yet
- Time limit
- 3s
- Memory limit
- 512 MB
- Medium5Judgeable
Simulation, Implementation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Implementation+2
No attempts yet
- Time limit
- 3s
- Memory limit
- 512 MB
- Medium5Judgeable
Tree, Dynamic programming+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Sorting, Greedy+2
No attempts yet
- Time limit
- 0.2s
- Memory limit
- 128 MB
- Medium5Judgeable
Hash map, Array+2
No attempts yet
- Time limit
- 7s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Intervals+2
No attempts yet
- Time limit
- 7s
- Memory limit
- 512 MB
- Medium5Judgeable
Geometry, Bit manipulation+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Geometry, Simulation+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, BFS+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Brute force, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, String+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Dynamic programming, String+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Dynamic programming, Array+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Dynamic programming, Probability+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Array, Dynamic programming+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Judgeable
Simulation, Implementation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 64 MB
- Judgeable
Graph, Union-find+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Judgeable
Number theory, Math+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Array, Brute force+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB
- Medium5Judgeable
Two pointers, Sliding window+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Sorting+2
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 128 MB
- Medium5Judgeable
Greedy, Math+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 64 MB
- Medium5Judgeable
Implementation, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Geometry, Binary search+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Sorting, Greedy+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Implementation, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Judgeable
Tree, DFS+2
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 128 MB
- Medium5Judgeable
Simulation, Implementation+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Brute force, Backtracking+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Divide and conquer, Math+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 128 MB
- Medium5Judgeable
Greedy, Sorting+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB