- 博客(1)
- 收藏
- 关注
原创 2018迅雷 对于一个整数N,计算2的N次方并在屏幕显示十进制结果。
对于一个整数N(512 <= N <= 1024),计算2的N次方并在屏幕显示十进制结果。#include <string>#include <iostream>using namespace std;string Npowerof2(int n){ string res("1"); for(int i=0;i<n;++i) {...
2018-10-24 16:36:28
376
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人