CF630B.Moore's Law

普及-

通过率:0%

时间限制:0.50s

内存限制:64MB

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

The city administration of IT City decided to fix up a symbol of scientific and technical progress in the city's main square, namely an indicator board that shows the effect of Moore's law in real time.

Moore's law is the observation that the number of transistors in a dense integrated circuit doubles approximately every 24 months. The implication of Moore's law is that computer performance as function of time increases exponentially as well.

You are to prepare information that will change every second to display on the indicator board. Let's assume that every second the number of transistors increases exactly 1.000000011 times.

IT 城市市政当局决定在城市主广场上安装一块象征科技与技术进步的指示牌,实时展示摩尔定律(Moore's law)的效果。

摩尔定律指出:密集集成电路中的晶体管数量大约每 24 个月翻一番。该定律的推论是:计算机性能随时间呈指数增长。

你需要准备一组信息,该信息每秒更新一次,用于在指示牌上显示。我们假设每秒晶体管数量恰好增加为原来的 1.0000000111.000000011 倍。

输入格式

The only line of the input contains a pair of integers n (1000 ≤ n ≤ 10 000) and t (0 ≤ t ≤ 2 000 000 000) — the number of transistors in the initial time and the number of seconds passed since the initial time.

输入仅有一行,包含两个整数 nn(1000 ≤ n ≤ 10 0001000 \leq n \leq 10\,000)和 tt(0 ≤ t ≤ 2 000 000 0000 \leq t \leq 2\,000\,000\,000)——分别表示初始时刻的晶体管数量以及自初始时刻起经过的秒数。

输出格式

Output one number — the estimate of the number of transistors in a dence integrated circuit in t seconds since the initial time. The relative error of your answer should not be greater than 10 - 6.

输出一个数字——即从初始时刻起经过 tt 秒后,一块高密度集成电路中晶体管数量的估计值。你的答案的相对误差不应超过 10−610^{-6}。

输入输出样例

  • 输入#1

    1000 1000000

    输出#1

    1011.060722383550382782399454922040

输入解题思路,AI测评打分。不知道怎么写?

首页