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, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Combinatorics, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Judgeable
Math, Dynamic programming
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 512 MB
- Medium5Judgeable
Hash map, String+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Prefix sum+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Union-find+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Combinatorics, Probability+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Number theory, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Brute force, Backtracking+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Shortest path, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Simulation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Simulation
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Recursion, Simulation+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Backtracking, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 10s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Number theory, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Dynamic programming
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Tree+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Binary search+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, DFS+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Shortest path, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Number theory, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Brute force+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Sliding window
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Hash map, Implementation+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Probability
No attempts yet
- Time limit
- 9s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, Tree+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, String
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Topological sort, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Bit manipulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Prefix sum+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Game theory, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Greedy+1
No attempts yet
- Time limit
- Not set
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Prefix sum
No attempts yet
- Time limit
- 30s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- Not set
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Number theory
No attempts yet
- Time limit
- Not set
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Array+1
No attempts yet
- Time limit
- 25s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Math
No attempts yet
- Time limit
- Not set
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, Dynamic programming+1
No attempts yet
- Time limit
- 40s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Geometry
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Recursion, String+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Backtracking, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, DFS+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Dynamic programming+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Probability, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Combinatorics+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Matrix, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Backtracking, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
String, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Two pointers, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Geometry, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Array
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Hash map, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sliding window, Hash map
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Implementation, Matrix+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting
No attempts yet
- Time limit
- 10s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 8s
- Memory limit
- 1024 MB
- Medium5Judgeable
Bit manipulation, Prefix sum+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Implementation
No attempts yet
- Time limit
- 6s
- Memory limit
- 1024 MB