-->
当前位置:首页 > 题库

PROGRAMMING:Calculate index

Luz5年前 (2021-05-10)题库651
I really didn't cheat you, this is a simple problem - for any given positive integer no more than 10 $$n $$, you are required to output $$2 ^ n $$. Isn't it hard?
###Input format:
Input to give a positive integer of no more than 10 $$n $$in one line.
###Output format:
In a row, output the value of $$2 ^ n $$in the format '2 ^ n = calculated result'.
###Input example:
```in
five
```
###Output example:
```out
2^5 = 32
```






answer:If there is no answer, please comment