Practice Problems

Daily Challenge: Paths Around the Walls (1500) Solve it to start a streak

math Problems

282 practice problems tagged math , from difficulty 800 to 2100 — solve them in our in-browser judge with instant verdicts. Browse all problems.

Related: matrix-exponentiation implementation number-theory combinatorics geometry games bitwise sorting prefix-sums digit-dp

ProblemTopics Solvers Acceptance Difficulty
Sum of Two Numbers math implementation 20
67%
800
Even or Odd math 12
48%
800
Sum of Digits math implementation 5
71%
800
Which Quadrant math geometry 5
63%
800
Sum 1 to N math 4
57%
800
Leap Year math implementation 5
83%
800
The Rook's Trip math 3
23%
800
Same Color Squares math 2
50%
800
Sum of the First N Odd Numbers math 3
75%
800
Sum of the First N Even Numbers math 2
67%
800
Handshakes All Around math 2
40%
800
The Hidden Face math 1
100%
800
The K-th Power Of Two Number math 1
100%
800
Digital Root math 1
100%
900
Ones in Binary math bitwise 1
50%
900
Decimal to Binary math 1
50%
900
Binary to Decimal math 1
100%
900
Quotient and Remainder math 1
100%
900
Can It Be a Triangle math geometry 1
33%
900
Coprime or Not math 0 900
Polygon Diagonals math 0 900
Arithmetic or Not math 0 900
Perfect Square math 0 900
Power of Two math bitwise 0 900
The King's Walk math 0 900
Sum of Squares math 0 900
Sum of Cubes math 0 900
Pentagonal Numbers math 0 900
Hexagonal Numbers math 0 900
Harshad Number math 0 900
Pronic Number math 0 900
Multiples in a Range math 0 900
Enough Buses math 0 900
Fair Apples math 0 900
The K-th Square Number math 0 900
Largest Power of Two Within math bitwise 0 900
The Repeating Banner math strings 0 900
Breaking Chocolate math 0 900
Black Squares math 0 900
The King's Options math 0 900
The Weird Algorithm math implementation 0 900
Tower of Hanoi: How Many Moves math 0 900
Least Common Multiple math 0 900
Sum of the First K Powers of Two math 0 900
Above the Average math implementation 0 1000
The Missing Number math 0 1000
Segment Overlap math 0 1000
Smallest Divisor Above One math 0 1000
Reduce the Fraction math 0 1000
Armstrong Number math implementation 0 1000