0_0_27015881_31313\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_27015881_31313\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
^
0_0_27015881_31313\Main.java:2: 错误: 非法字符: '#'
#include<cmath>
^
0_0_27015881_31313\Main.java:4: 错误: 需要class, interface或enum
double sum(double a,int b)
^
0_0_27015881_31313\Main.java:7: 错误: 需要class, interface或enum
double y=0;
^
0_0_27015881_31313\Main.java:8: 错误: 需要class, interface或enum
for(int i=0;i<b-1;i++)
^
0_0_27015881_31313\Main.java:8: 错误: 需要class, interface或enum
for(int i=0;i<b-1;i++)
^
0_0_27015881_31313\Main.java:8: 错误: 需要class, interface或enum
for(int i=0;i<b-1;i++)
^
0_0_27015881_31313\Main.java:11: 错误: 需要class, interface或enum
y+=z;
^
0_0_27015881_31313\Main.java:12: 错误: 需要class, interface或enum
}
^
0_0_27015881_31313\Main.java:14: 错误: 需要class, interface或enum
}
^
0_0_27015881_31313\Main.java:18: 错误: 需要class, interface或enum
while(cin>>n>>m)
^
0_0_27015881_31313\Main.java:21: 错误: 需要class, interface或enum
printf("%.2f\n",sum(x,m));
^
0_0_27015881_31313\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_27015881_31313\Main.java:24: 错误: 需要class, interface或enum
}
^
15 个错误
|