CodeForces-630 B. Moore's Law【数学】
来源:互联网 发布:linux命令手册下载chm 编辑:程序博客网 时间:2024/05/17 03:22
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.
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.
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.
1000 1000000
1011.060722383550382782399454922040
#include<stdio.h>#include<math.h>int main(){double n,t;while(~scanf("%lf%lf",&n,&t)){printf("%.10f\n",pow(1.000000011,t)*n);}return 0;}
- CodeForces-630 B. Moore's Law【数学】
- Codeforces 630B Moore's Law
- CodeForces-630B. Moore's Law
- codeforces 630B Moore's Law
- CodeForces-630B:Moore's Law【水】
- codeforces 630B Moore's Law
- Codeforces 630 B. Moore's Law
- CodeForces 630 B. Moore's Law(快速幂)
- CodeForces - 630B Moore's Law (快速幂)
- Codeforces--630B--Moore's Law(快速幂)
- B - Moore's Law
- Codeforce 630B Moore's Law
- codeforce#630 B.Moore's Law
- CodeForces 630B Moore's Law(摩尔定律,快速幂)
- MOORE'S LAW
- Moore's law & Hook's law
- Was Moore's Law Inevitable?
- 小米手机 不止Moore's Law
- 华为基础训练---字符串分割
- Android环境搭建
- Indivisibility(最大公约数+排列组合)
- macchanger克隆MAC地址
- Linux之:最常用的20条命令
- CodeForces-630 B. Moore's Law【数学】
- Linux 字符设备驱动开发基础(三)—— read()、write() 相关函数解析
- ubuntu 14.04 使用root 登录图形界面
- 程序员笔试面试基础知识资料整理
- PAT 1090
- 328. Odd Even Linked List
- Python 网页爬虫 & 文本处理 & 科学计算 & 机器学习 & 数据挖掘兵器谱
- ubuntu 卸载LAMP
- Python快速入门-1