当前位置:网站首页>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;
}边栏推荐
- day25 js中的预解析、递归函数、事件 2021.09.16
- mysql-. SQL file phishing Online
- day32 js笔记 事件(上)2021.09.27
- Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
- Day37 JS note motion function 2021.10.11
- Recommended practice sharing of Zhilian recruitment based on Nebula graph
- JS foundation 10
- day34 js笔记 正则表达式 2021.09.29
- Scientific research - web of science retrieval skills
- Day28 strict mode, string JS 2021.09.22
猜你喜欢

Web page tips this site is unsafe solution

Jetpack Compose Desktop 桌面版本的打包和发布应用

ThreadLocal的简单理解

TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush

Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system

Cannot redeclare block range variables

Day32 JS note event (Part 1) September 27, 2021

功能真花哨,价格真便宜!长安全新SUV真实力到底怎样?

Simple understanding of ThreadLocal

js中的数组方法 2021.09.18
随机推荐
[sword finger offer] 49 Ugly number
NFT card chain game system development DAPP construction technical details
Machine learning project captcha based on verification code recognition_ Trainer operation practice
毕业了
功能真花哨,价格真便宜!长安全新SUV真实力到底怎样?
Setinterval, setTimeout and requestanimationframe
Gee: mcd64a1 based globfire daily fire data set
近况
Day23 JS notes 2021.09.14
Day29 JS notes 2021.09.23
Day39 prototype chain and page fireworks effect 2021.10.13
赛尔号抽奖模拟求期望
The default point of this in JS and how to modify it to 2021.11.09
Day24 JS notes 2021.09.15
无法重新声明块范围变量
What is DAPP system development and analytical understanding
day37 js笔记 运动函数 2021.10.11
mysql-. SQL file phishing Online
Zero foundation self-study SQL course | if function
How to distinguish and define DQL, DML, DDL and DCL in SQL