当前位置:网站首页>6. calculation index
6. calculation index
2022-06-28 11:46:00 【HBUcs2020】
Power index
The base number is x, The power exponent is a, Calculated x Of a Power :
pow(x,a)
#include<stdio.h>
#include<stdlib.h>
#include<math.h>
int main()
{
int n;
scanf("%d",&n);
int b=pow(2,n);
printf("2^%d = %d",n,b);
return 0;
}边栏推荐
- [sciter]: how sciter uses i18 to realize multi language switching of desktop applications and its advantages and disadvantages
- IO stream of file and Base64
- Introduction to GDB
- Solutions to connection failures and errors when accessing mysql8 using the SSM project
- Ali three sides: what is the difference between using on or where in the left join associated table and the condition
- 2022 open source software security status report: over 41% of enterprises do not have enough confidence in open source security
- Tidb v6.0.0 (DMR): initial test of cache table - tidb Book rush
- 合约量化交易系统开发 | 合约量化APP开发(现成案例)
- Mutual conversion between mytipartfile and file
- Oracle date format exception: invalid number
猜你喜欢

赛尔号抽奖模拟求期望

科研丨Web of Science检索技巧
This Exception was thrown from a job compiled with Burst, which has limited exception support. 报错

JS foundation 8

Oracle date format exception: invalid number

水果FL Studio/Cubase/Studio one音乐宿主软件对比

Remote login sshd service

Zero foundation self-study SQL course | if function

js中this的默认指向及如何修改指向 2021.11.09

day34 js笔记 正则表达式 2021.09.29
随机推荐
day28 严格模式、字符串 js 2021.09.22
What is the main chain system?
培训通知|2022年境外中资企业机构及人员疫情防控和安全防范专题培训通知
Scientific research - web of science retrieval skills
Timestamp and date conversion "suggested collection"
This Exception was thrown from a job compiled with Burst, which has limited exception support. 报错
携手Cigent:群联为SSD主控固件引入高级网络安全防护特性
Mutual conversion between mytipartfile and file
day37 js笔记 运动函数 2021.10.11
Which broker is safer and more convenient to open an account for Oriental Fortune mobile stock?
It is safer for individuals to choose which securities company to open an account for buying floor funds
Unity屏幕截图功能
Simulation of the Saier lottery to seek expectation
SQL必需掌握的100个重要知识点:检索数据
一套十万级TPS的IM综合消息系统的架构实践与思考
[sciter]: how sciter uses i18 to realize multi language switching of desktop applications and its advantages and disadvantages
[sciter]: use of sciter FS module scanning file API and its details
Apache2配置对目录拒绝访问,但是可以访问里面文件的设置
Day29 JS notes 2021.09.23
Using soapUI to obtain freemaker's FTL file template