比较两个幂运算的结果,例如2^11与3^7的结果哪个大?这并不是难事!

任何计算器都可以轻松验证出 (2^11=2048) < (3^7=2187)

然而,验证 632382^518061 > 519432^525806 将会非常困难,因为两边的运算结果长度超过了300万个数字。

接下来请下载文件base_exp.txt(鼠标右键另存为),这是一个22K大小的文本文件,包含了1000行数据,每行的两个数分别代表底数和指数,求幂运算结果最大的是哪一行?

来源:问题99

系统消息 若觉得内容不错,请点击左上角的"赞"图标,以优化网站的内容呈现。 另外,请及时验证注册邮箱,否则收不到21QA发出的红包。 官方Q群:250203055

asked 15 Oct '14, 10:13

%E8%B7%AF%E4%BA%BA%E7%94%B2's gravatar image

路人甲
131726860896

编辑于 15 Oct '14, 10:24

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link: [text](http://url.com/ "title")
  • image: ![alt](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×33
×5

question asked: 15 Oct '14, 10:13

question was seen: 1,347 times

last updated: 15 Oct '14, 10:24

powered by O*S*Q*A

粤ICP备14040061号-1