Competition practice problems