任意给定一个正整数N(N<=100),计算2的n次方的值。 输入输入一个正整数N。 输出输出2的N次方的值。 样例输入 5 样例输出 32 #include <iostream> #include <cstdio> using namespace std; int a[10…