2 条题解

  • 1
    @ 2026-1-11 21:30:05
    #include<iostream>
    #include<cstdio>
    #include<cctype>
    #include<string.h>
    #include<math.h>
    #include<cmath>
    #include<algorithm>
    #include<iomanip>
    using namespace std;
    int main()
    {
    	int n;
     	double x; 
    	cin>>x>>n;
    	for(int i=1;i<=n;i++)
    	{
    		x*=(1+0.001);
    	} 
    	printf("%.4lf",x);
    	return 0;
    }
    
    
    

    信息

    ID
    940
    时间
    1000ms
    内存
    128MiB
    难度
    2
    标签
    递交数
    74
    已通过
    44
    上传者