0_0_22047535_12269\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_22047535_12269\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
^
0_0_22047535_12269\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_22047535_12269\Main.java:7: 错误: 需要class, interface或enum
double dp[35],money[35];
^
0_0_22047535_12269\Main.java:8: 错误: 需要class, interface或enum
int n,m,num,i,j,flag;
^
0_0_22047535_12269\Main.java:9: 错误: 需要class, interface或enum
char ch;
^
0_0_22047535_12269\Main.java:10: 错误: 需要class, interface或enum
while(scanf("%lf %d",&Q,&n)&&n)
^
0_0_22047535_12269\Main.java:13: 错误: 需要class, interface或enum
memset(dp,0,sizeof(dp));
^
0_0_22047535_12269\Main.java:14: 错误: 需要class, interface或enum
memset(money,0,sizeof(money));
^
0_0_22047535_12269\Main.java:15: 错误: 需要class, interface或enum
for (i=0;i<n;i++)
^
0_0_22047535_12269\Main.java:15: 错误: 需要class, interface或enum
for (i=0;i<n;i++)
^
0_0_22047535_12269\Main.java:15: 错误: 需要class, interface或enum
for (i=0;i<n;i++)
^
0_0_22047535_12269\Main.java:18: 错误: 需要class, interface或enum
sum=asum=bsum=csum=0.0;
^
0_0_22047535_12269\Main.java:19: 错误: 需要class, interface或enum
scanf("%d",&m);
^
0_0_22047535_12269\Main.java:20: 错误: 需要class, interface或enum
for (j=0;j<m;j++)
^
0_0_22047535_12269\Main.java:20: 错误: 需要class, interface或enum
for (j=0;j<m;j++)
^
0_0_22047535_12269\Main.java:20: 错误: 需要class, interface或enum
for (j=0;j<m;j++)
^
0_0_22047535_12269\Main.java:23: 错误: 需要class, interface或enum
scanf("%c:%lf",&ch,&price);
^
0_0_22047535_12269\Main.java:24: 错误: 需要class, interface或enum
if(ch!='A'&&ch!='B'&&ch!='C'||price>600.0)
^
0_0_22047535_12269\Main.java:27: 错误: 需要class, interface或enum
break;
^
0_0_22047535_12269\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_22047535_12269\Main.java:31: 错误: 需要class, interface或enum
else if(ch=='B')
^
0_0_22047535_12269\Main.java:33: 错误: 需要class, interface或enum
else
^
0_0_22047535_12269\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_22047535_12269\Main.java:37: 错误: 需要class, interface或enum
if(flag&&sum<=1000.0&&asum<=600.0&&bsum<=600.0&&csum<=600.0)
^
0_0_22047535_12269\Main.java:40: 错误: 需要class, interface或enum
num++;
^
0_0_22047535_12269\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_22047535_12269\Main.java:43: 错误: 需要class, interface或enum
for (i=0;i<=num;i++)
^
0_0_22047535_12269\Main.java:43: 错误: 需要class, interface或enum
for (i=0;i<=num;i++)
^
0_0_22047535_12269\Main.java:45: 错误: 需要class, interface或enum
for(j=num;j>=1;j--)
^
0_0_22047535_12269\Main.java:45: 错误: 需要class, interface或enum
for(j=num;j>=1;j--)
^
0_0_22047535_12269\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_22047535_12269\Main.java:50: 错误: 需要class, interface或enum
for(i=0;i<=num;i++)
^
0_0_22047535_12269\Main.java:50: 错误: 需要class, interface或enum
for(i=0;i<=num;i++)
^
0_0_22047535_12269\Main.java:50: 错误: 需要class, interface或enum
for(i=0;i<=num;i++)
^
0_0_22047535_12269\Main.java:53: 错误: 需要class, interface或enum
printf("%.2lf\n",ans);
^
0_0_22047535_12269\Main.java:54: 错误: 需要class, interface或enum
}
^
0_0_22047535_12269\Main.java:56: 错误: 需要class, interface或enum
}
^
38 个错误
|