1 条题解

  • 0
    @ 2024-12-24 10:06:19

    C :

    #include<stdio.h>
    
    int main()
    {
    	float a,b,c,d;
    	a=1.47;
    	b=32.54;
        c=32.1;
    	d=a*(b-c);
    	printf("%.4f",d);
    	return 0;
    }
    

    C++ :

    #include<stdio.h>
    
    int main()
    {
    	float a,b,c,d;
    	a=1.47;
    	b=32.54;
    	c=32.1;
    	d=a*(b-c);
    	printf("%.4f\n",d);
    	return 0;
    }
    
    • 1

    信息

    ID
    2646
    时间
    1000ms
    内存
    128MiB
    难度
    10
    标签
    递交数
    1
    已通过
    0
    上传者