Groups
Category
Level
Most wrong answers in competitive programming come from unhandled boundary conditions rather than core logic mistakes.
Fast exponentiation (binary exponentiation) computes a^n using repeated squaring in O(log n) multiplications.