早教吧 育儿知识 作业答案 考试题库 百科 知识分享

英语翻译SampleInput和SampleOutput不用翻译,只要把题目写成汉语就行了--

题目详情
英语翻译
Sample Input和Sample Output不用翻译,只要把题目写成汉语就行了 - -
▼优质解答
答案和解析
POJ 1001
Exponentiation 乘方计算
Time Limit:500MS Memory Limit:10000K 时间限制:500ms,内存限制:10000k
Total Submissions:80267 Accepted:19039 提交总数:80267 接受数:19039
Description 描述
Problems involving the computation of exact values of very large magnitude and precision are common.For example,the computation of the national debt is a taxing experience for many computer systems.涉及大规模数量级和精确度的数字的问题,其计算结果是一致的.例如,国债的计算就是很多计算机系统的必备功能.
This problem requires that you write a program to compute the exact value of Rn where R is a real number ( 0.0 < R < 99.999 ) and n is an integer such that 0 < n