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
Graph, Tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Segment tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Segment tree, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Backtracking+1
No attempts yet
- Time limit
- 9s
- Memory limit
- 1024 MB
- Judgeable
Graph, BFS+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Shortest path, Graph+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, DFS+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Matrix
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
Dynamic programming, Sorting+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Array
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Union-find+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Segment tree, Math
No attempts yet
- Time limit
- 7s
- Memory limit
- 1024 MB
- Medium6Judgeable
Backtracking, Brute force+1
No attempts yet
- Time limit
- 7s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Implementation, Simulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Prefix sum, Greedy+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Two pointers, Bit manipulation+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Segment tree, Math+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Math
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Array+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Math+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Geometry, Sorting+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Segment tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Dynamic programming+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Combinatorics+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Binary search
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Probability+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Segment tree+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Number theory+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Greedy+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, DFS+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, BFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Math
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Prefix sum
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Dynamic programming+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 4 MB
- Medium6Judgeable
Math, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Binary search, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Sorting+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium6Judgeable
Tree, Sorting+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Union-find+1
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, String+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Intervals, Dynamic programming+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Bit manipulation, Dynamic programming+1
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
Queue, Simulation+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Union-find, Matrix+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Bit manipulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 2048 MB
- Medium6Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
BFS, Union-find
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Bit manipulation, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Simulation, Linked list+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Simulation, Greedy+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, String matching+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Math, Implementation
No attempts yet
- Time limit
- 4s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Game theory+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, BFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Simulation, Stack+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Probability+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 512 MB
- Medium6Judgeable
Number theory, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium6Judgeable
Bit manipulation, Dynamic programming+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 512 MB
- Medium6Judgeable
Math, Geometry+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Judgeable
BFS, Simulation+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Geometry+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Tree, Dynamic programming+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Topological sort, Greedy+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Backtracking, Matrix+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
Backtracking, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Greedy
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Segment tree, Prefix sum
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Shortest path
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Sorting+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Topological sort+2
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Simulation, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Simulation+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Tree, Math
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Dynamic programming+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB