题解 2843: 计算2的N次方

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

计算2的n次方

摘要:解题思路:使用数组去保存数据,这里用到的是高精度的知识注意事项:参考代码:#include<stdio.h>int main(){    int a[100000]={0};    int i;   ……

2的n次方(大数版)

摘要:解题思路:注意事项:涉及高精度计算(用数组)参考代码:#include <stdio.h>int a[100000];int main(){     int k=1,n=0,i,j;     scan……