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
Backtracking, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Prefix sum, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, DFS
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Probability+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Probability
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Trie, Tree+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Greedy
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Sorting
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Stack
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Dynamic programming
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Prefix sum+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Binary search, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, String matching+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sliding window, Segment tree+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Backtracking, Combinatorics+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sliding window, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
String, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Tree, DFS+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Binary search, Dynamic programming+2
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Number theory
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
Math, Recursion+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Sorting+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Judgeable
Segment tree, Array
No attempts yet
- Time limit
- 6s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Number theory
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Math
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 512 MB
- Medium6Judgeable
Prefix sum, Sliding window+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium6Judgeable
Graph, Topological sort+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, BFS+1
No attempts yet
- Time limit
- 7s
- Memory limit
- 1024 MB
- Medium6Judgeable
Prefix sum, Shortest path
No attempts yet
- Time limit
- 0.6s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Binary search+1
No attempts yet
- Time limit
- 0.4s
- Memory limit
- 8 MB
- Medium6Judgeable
Sorting, Hash map+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Probability, Combinatorics+1
No attempts yet
- Time limit
- 0.6s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Prefix sum+2
No attempts yet
- Time limit
- 6s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Geometry
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Number theory+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Graph, BFS+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Judgeable
BFS, Graph+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sorting, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Shortest path+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, String+1
No attempts yet
- Time limit
- 0.5s
- Memory limit
- 1024 MB
- Judgeable
Dynamic programming, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Sorting+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Union-find
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Math
No attempts yet
- Time limit
- 1s
- Memory limit
- 256 MB
- Medium6Judgeable
Dynamic programming, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Sorting
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, DFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Array+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Number theory, Brute force+1
No attempts yet
- Time limit
- 0.75s
- Memory limit
- 1024 MB
- Medium6Judgeable
Stack, Hash map
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Intervals, Sorting+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Probability, Matrix+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Recursion, Dynamic programming+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Array, Prefix sum+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Judgeable
Greedy, Segment tree+1
No attempts yet
- Time limit
- 5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Shortest path, Matrix+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Shortest path+1
No attempts yet
- Time limit
- 3s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, DFS
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Shortest path, Graph
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 1.5s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation
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
Graph, DFS+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Tree, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Binary search+1
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Shortest path, Graph+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Tree+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Implementation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Geometry, Brute force+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 512 MB
- Medium6Judgeable
Math, Combinatorics
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, BFS
No attempts yet
- Time limit
- 12s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Prefix sum+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 128 MB
- Medium6Judgeable
Segment tree, Implementation
No attempts yet
- Time limit
- 2s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Geometry+1
No attempts yet
- Time limit
- 15s
- Memory limit
- 1024 MB
- Medium6Judgeable
Sliding window, Two pointers+1
No attempts yet
- Time limit
- 10s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Greedy
No attempts yet
- Time limit
- 25s
- Memory limit
- 1024 MB
- Medium6Judgeable
Graph, Matrix+1
No attempts yet
- Time limit
- 15s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Binary search+1
No attempts yet
- Time limit
- 60s
- Memory limit
- 1024 MB
- Medium6Judgeable
Divide and conquer, Geometry+1
No attempts yet
- Time limit
- Not set
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Bit manipulation+1
No attempts yet
- Time limit
- 20s
- Memory limit
- 1024 MB
- Judgeable
Greedy, Bit manipulation+1
No attempts yet
- Time limit
- 20s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, String
No attempts yet
- Time limit
- 20s
- Memory limit
- 1024 MB
- Medium6Judgeable
Greedy, Implementation
No attempts yet
- Time limit
- 90s
- Memory limit
- 1024 MB
- Medium6Judgeable
Game theory, Implementation
No attempts yet
- Time limit
- 40s
- Memory limit
- 1024 MB
- Medium6Judgeable
Combinatorics, Dynamic programming+1
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB
- Medium6Judgeable
Math, Number theory+1
No attempts yet
- Time limit
- 10s
- Memory limit
- 1024 MB
- Medium6Judgeable
Dynamic programming, Bit manipulation
No attempts yet
- Time limit
- 1s
- Memory limit
- 1024 MB