LightOJ 1282 Leading and Trailing 【快速幂+数学】

You are given two integers: n and k, your task is to find the most significant three digits, and least significant three digits of nk. Input Input starts with an integer T (≤ 1000), denoting the numbe
相关文章
相关标签/搜索