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
Array, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Sliding window+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Number theory+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
Dynamic programming, Recursion+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Prefix sum, Binary search+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Bit manipulation, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Dynamic programming, Segment tree
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Sorting, Binary search+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+2
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, DFS+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Bit manipulation, Implementation
No attempts yet
- Time limit
- 0.1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Greedy
No attempts yet
- Time limit
- 0.1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Simulation
No attempts yet
- Time limit
- 0.1s
- Memory limit
- 512 MB
- Medium5Judgeable
Greedy, Sorting
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Shortest path
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
BFS, Shortest path+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Sorting, Two pointers+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Union-find, Sorting+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Hash map+1
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
String, Implementation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, String matching
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Graph
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Prefix sum
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Hash map, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Array, Greedy+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 2048 MB
- Medium5Judgeable
Math, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 2048 MB
- Medium5Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 2s
- Memory limit
- 2048 MB
- Medium5Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Prefix sum+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Array, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Bit manipulation, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, BFS+1
No attempts yet
- Time limit
- 2.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium5Judgeable
Graph, BFS+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Backtracking, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium5Judgeable
Math, Recursion+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Combinatorics, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Combinatorics, Probability+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sliding window, Queue+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Heap
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Graph, DFS
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Simulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Judgeable
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Segment tree, Simulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
String, Prefix sum+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
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Heap+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Number theory
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Backtracking, Recursion+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Implementation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation
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
- Medium5Judgeable
Union-find, Simulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, DFS+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Simulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Simulation, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Brute force, Backtracking+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium5Judgeable
Divide and conquer, Recursion+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Hash map, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Intervals+1
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
Number theory, Prefix sum+1
No attempts yet
- Time limit
- 0.18s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Tree, DFS+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Prefix sum, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium5Judgeable
Geometry, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Binary search, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Greedy, Two pointers+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
String, Hash map+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium5Judgeable
Math, Tree
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Bit manipulation, Math+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation+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
Greedy, Segment tree+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB