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
BFS, Simulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Math, Prefix sum
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Segment tree, Tree
No attempts yet
- Time limit
- 10s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Hash map
No attempts yet
- Time limit
- 10s
- Memory limit
- 256 MB
- Medium5Judgeable
Math, Brute force
No attempts yet
- Time limit
- 5s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Backtracking, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Graph, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 32 MB
- Medium5Judgeable
Graph, DFS
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Probability, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Judgeable
Tree, BFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 128 MB
- Medium5Judgeable
Hash map, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 32 MB
- Medium5Judgeable
Shortest path, BFS
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Array
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Sorting, Intervals
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Topological sort, Graph+1
No attempts yet
- Time limit
- 8s
- Memory limit
- 256 MB
- Judgeable
Brute force, Implementation
No attempts yet
- Time limit
- 8s
- Memory limit
- 256 MB
- Medium5Judgeable
Intervals, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Graph
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Brute force, Hash map
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Math, Brute force
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Math
No attempts yet
- Time limit
- 8s
- Memory limit
- 512 MB
- Medium5Judgeable
Brute force, Bit manipulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Sorting, Simulation+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
BFS, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Judgeable
Brute force, Simulation
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Brute force, Bit manipulation
No attempts yet
- Time limit
- 5s
- Memory limit
- 256 MB
- Medium5Judgeable
Brute force, Stack+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 256 MB
- Medium5Judgeable
String matching, Stack
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Stack, String matching
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Brute force, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Shortest path, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 5s
- Memory limit
- 256 MB
- Medium5Judgeable
Prefix sum, Brute force
No attempts yet
- Time limit
- 8s
- Memory limit
- 256 MB
- Medium5Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Geometry, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 3s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Union-find, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 16 MB
- Medium5Judgeable
DFS, Graph
No attempts yet
- Time limit
- 1s
- Memory limit
- 32 MB
- Medium5Judgeable
Number theory, Math
No attempts yet
- Time limit
- 10s
- Memory limit
- 64 MB
- Medium5Judgeable
Math, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 16 MB
- Medium5Judgeable
Geometry, Sorting
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Math, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
DFS, Graph
No attempts yet
- Time limit
- 2s
- Memory limit
- 32 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
String matching, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 5s
- Memory limit
- 128 MB
- Medium5Judgeable
Geometry, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB
- Medium5Judgeable
Graph, BFS+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Dynamic programming+1
No attempts yet
- Time limit
- 15s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Bit manipulation, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Backtracking, Combinatorics+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
String matching, Prefix sum
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Combinatorics
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Brute force, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Graph, DFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Probability, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Sorting+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Prefix sum, Binary search
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Probability
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Binary search, Greedy+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 256 MB
- Medium5Judgeable
Geometry, Intervals+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Probability, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Simulation, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
BFS, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Implementation, Hash map+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Combinatorics, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Bit manipulation, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
String matching, Array
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Heap+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Judgeable
Brute force, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Number theory, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Number theory, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
String matching, Trie
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Sorting, Binary search
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Dynamic programming, Bit manipulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB
- Medium5Judgeable
Geometry, Hash map
No attempts yet
- Time limit
- 3s
- Memory limit
- 256 MB
- Medium5Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Tree, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium5Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 2s
- Memory limit
- 256 MB