Run ID:70800
提交时间:2024-04-19 23:33:31
#include<iostream> #include<cstdio> using namespace std; int main(){ float high=100,sum=0; for(int i=1; i<=10; i++) { sum+=high; high=high/2.0; } printf("%.2f",sum); return 0; }