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
相關文章
相關標籤/搜索