#include <stdio.h>#include <math.h>int main(){ int d; double c; scanf("%d",&d); 5000=d*(0.004*(pow(1+0.004,c))/(5000*(pow(1+0.004,c))-1); printf("%.2f",c);}
收起
5000=?常量不能放左边
报告相同问题?