Pro.ID22331 TitleDivision Title链接http://10.20.2.8/oj/exercise/problem?problem_id=22331 AC1 Submit1 Ratio100.00% 时间&空间限制描述Given t, a, b positive integers not bigger than 2147483647, establish whether ( t^a - 1 ) / ( t^b -1 ) is an integer with less than 100 digits. 输入Each line of input contains t, a, b. 输出Description Given t, a, b positive integers not bigger than 2147483647, establish whether ( t^a - 1 ) / ( t^b -1 ) is an integer with less than 100 digits. Input Each line of input contains t, a, b. Output For each line of input print the formula followed by its value, or followed by "is not an integer with less than 100 digits.", whichever is appropriate. Sample Input 2 9 3 Sample Output (2^9-1)/(2^3-1) 73 Source 样例输入2 9 3 样例输出(2^9-1)/(2^3-1) 73 作者 |