企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持知识库和私有化部署方案 广告
~~~ #include <iostream> #include<stdio.h> #include <cmath> using namespace std; int main() { double n,m,t=0; while (cin>>n>>m&&n<10000&&m<1000) { t=0; while (m--) { t=t+n; n=sqrt(n); } printf("%.2f\n",t); } return 0; } ~~~