问题:
算法设计
直接暴力循环
源代码:
#include<stdio.h>
include<math>
int main()
{
double n=0.0;
int i;
for(i=0;i<=64;i++)
{
n+=n+pow(2,i-1);
}
pritnf("%lf",n);
return 0;
}
标签:lf,源代码,17,int,打卡,include From: https://www.cnblogs.com/ykznlxx/p/17382950.html