#include<stdio.h>
#include<math.h>
double pow(double x, double y);
int main()
{
double a,x;
int b,c;
scanf("%f%d%d",a,b,c);
x=c*pow(a+1,6.0);
printf("%.2f",x);
}
//上交到OJ网站为什么会运行出错
//在编译器上面是对的
#include<stdio.h>
#include<math.h>
double pow(double x, double y);
int main()
{
double a,x;
int b,c;
scanf("%f%d%d",a,b,c);
x=c*pow(a+1,6.0);
printf("%.2f",x);
}
//上交到OJ网站为什么会运行出错
//在编译器上面是对的
你确定在你的编译器上是对的,没有在逗我??看到这一行就知道肯定是错的:scanf("%f%d%d",a,b,c);你的“&”哪去了??