0_0_29283518_13379.cpp:4:3: error: stray '#' in program
{ char a[200];
^
0_0_29283518_13379.cpp:5:2: error: stray '#' in program
int i,k,n,b[5];
^
0_0_29283518_13379.cpp:6:2: error: stray '#' in program
scanf("%d",&n);
^
0_0_29283518_13379.cpp:7:2: error: stray '#' in program
getchar();//注意把getchar放while循环外部,但是并不造是为什么.
^
0_0_29283518_13379.cpp:8:2: error: stray '#' in program
while(n--)
^
0_0_29283518_13379.cpp:9:2: error: stray '#' in program
{
^
0_0_29283518_13379.cpp:9:9: error: stray '#' in program
{
^
0_0_29283518_13379.cpp:10:2: error: stray '#' in program
gets(a);
^
0_0_29283518_13379.cpp:10:8: error: stray '#' in program
gets(a);
^
0_0_29283518_13379.cpp:11:2: error: stray '#' in program
k=strlen(a);
^
0_0_29283518_13379.cpp:11:8: error: stray '#' in program
k=strlen(a);
^
0_0_29283518_13379.cpp:12:2: error: stray '#' in program
for(i=0;i<5;i++)
^
0_0_29283518_13379.cpp:12:8: error: stray '#' in program
for(i=0;i<5;i++)
^
0_0_29283518_13379.cpp:13:2: error: stray '#' in program
b[i]=0;
^
0_0_29283518_13379.cpp:13:8: error: stray '#' in program
b[i]=0;
^
0_0_29283518_13379.cpp:14:2: error: stray '#' in program
for(i=0;i<k;i++)
^
0_0_29283518_13379.cpp:14:8: error: stray '#' in program
for(i=0;i<k;i++)
^
0_0_29283518_13379.cpp:15:2: error: stray '#' in program
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:15:8: error: stray '#' in program
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:15:15: error: stray '#' in program
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:16:2: error: stray '#' in program
b[0]++;
^
0_0_29283518_13379.cpp:16:8: error: stray '#' in program
b[0]++;
^
0_0_29283518_13379.cpp:16:14: error: stray '#' in program
b[0]++;
^
0_0_29283518_13379.cpp:16:20: error: stray '#' in program
b[0]++;
^
0_0_29283518_13379.cpp:17:2: error: stray '#' in program
if(a[i]=='e')
^
0_0_29283518_13379.cpp:17:8: error: stray '#' in program
if(a[i]=='e')
^
0_0_29283518_13379.cpp:17:14: error: stray '#' in program
if(a[i]=='e')
^
0_0_29283518_13379.cpp:18:2: error: stray '#' in program
b[1]++;
^
0_0_29283518_13379.cpp:18:8: error: stray '#' in program
b[1]++;
^
0_0_29283518_13379.cpp:18:14: error: stray '#' in program
b[1]++;
^
0_0_29283518_13379.cpp:18:20: error: stray '#' in program
b[1]++;
^
0_0_29283518_13379.cpp:19:2: error: stray '#' in program
if(a[i]=='i')
^
0_0_29283518_13379.cpp:19:8: error: stray '#' in program
if(a[i]=='i')
^
0_0_29283518_13379.cpp:19:14: error: stray '#' in program
if(a[i]=='i')
^
0_0_29283518_13379.cpp:20:2: error: stray '#' in program
b[2]++;
^
0_0_29283518_13379.cpp:20:8: error: stray '#' in program
b[2]++;
^
0_0_29283518_13379.cpp:20:14: error: stray '#' in program
b[2]++;
^
0_0_29283518_13379.cpp:20:20: error: stray '#' in program
b[2]++;
^
0_0_29283518_13379.cpp:21:2: error: stray '#' in program
if(a[i]=='o')
^
0_0_29283518_13379.cpp:21:8: error: stray '#' in program
if(a[i]=='o')
^
0_0_29283518_13379.cpp:21:14: error: stray '#' in program
if(a[i]=='o')
^
0_0_29283518_13379.cpp:22:2: error: stray '#' in program
b[3]++;
^
0_0_29283518_13379.cpp:22:8: error: stray '#' in program
b[3]++;
^
0_0_29283518_13379.cpp:22:14: error: stray '#' in program
b[3]++;
^
0_0_29283518_13379.cpp:22:20: error: stray '#' in program
b[3]++;
^
0_0_29283518_13379.cpp:23:2: error: stray '#' in program
if(a[i]=='u')
^
0_0_29283518_13379.cpp:23:8: error: stray '#' in program
if(a[i]=='u')
^
0_0_29283518_13379.cpp:23:14: error: stray '#' in program
if(a[i]=='u')
^
0_0_29283518_13379.cpp:24:2: error: stray '#' in program
b[4]++;
^
0_0_29283518_13379.cpp:24:8: error: stray '#' in program
b[4]++;
^
0_0_29283518_13379.cpp:24:14: error: stray '#' in program
b[4]++;
^
0_0_29283518_13379.cpp:24:20: error: stray '#' in program
b[4]++;
^
0_0_29283518_13379.cpp:25:2: error: stray '#' in program
}
^
0_0_29283518_13379.cpp:25:8: error: stray '#' in program
}
^
0_0_29283518_13379.cpp:26:2: error: stray '#' in program
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",b[0],b[1],b[2],b[3],b[4]);
^
0_0_29283518_13379.cpp:26:8: error: stray '#' in program
printf("a:%d\ne:%d\ni:%d\no:%d\nu:%d\n",b[0],b[1],b[2],b[3],b[4]);
^
0_0_29283518_13379.cpp:27:2: error: stray '#' in program
if(n!=0)//这样是为了符合题目要求最后一次没有换行。
^
0_0_29283518_13379.cpp:27:8: error: stray '#' in program
if(n!=0)//这样是为了符合题目要求最后一次没有换行。
^
0_0_29283518_13379.cpp:28:2: error: stray '#' in program
printf("\n");
^
0_0_29283518_13379.cpp:28:8: error: stray '#' in program
printf("\n");
^
0_0_29283518_13379.cpp:29:2: error: stray '#' in program
}
^
0_0_29283518_13379.cpp:30:2: error: stray '#' in program
return 0;
^
0_0_29283518_13379.cpp: In function 'int main()':
0_0_29283518_13379.cpp:4:4: error: lvalue required as unary '&' operand
{ char a[200];
^
0_0_29283518_13379.cpp:5:3: error: lvalue required as unary '&' operand
int i,k,n,b[5];
^
0_0_29283518_13379.cpp:6:3: error: lvalue required as unary '&' operand
scanf("%d",&n);
^
0_0_29283518_13379.cpp:7:3: error: lvalue required as unary '&' operand
getchar();//注意把getchar放while循环外部,但是并不造是为什么.
^
0_0_29283518_13379.cpp:8:3: error: lvalue required as unary '&' operand
while(n--)
^
0_0_29283518_13379.cpp:9:3: error: lvalue required as unary '&' operand
{
^
0_0_29283518_13379.cpp:9:10: error: lvalue required as unary '&' operand
{
^
0_0_29283518_13379.cpp:10:3: error: lvalue required as unary '&' operand
gets(a);
^
0_0_29283518_13379.cpp:10:9: error: lvalue required as unary '&' operand
gets(a);
^
0_0_29283518_13379.cpp:11:3: error: lvalue required as unary '&' operand
k=strlen(a);
^
0_0_29283518_13379.cpp:11:9: error: lvalue required as unary '&' operand
k=strlen(a);
^
0_0_29283518_13379.cpp:12:3: error: lvalue required as unary '&' operand
for(i=0;i<5;i++)
^
0_0_29283518_13379.cpp:12:9: error: lvalue required as unary '&' operand
for(i=0;i<5;i++)
^
0_0_29283518_13379.cpp:13:3: error: lvalue required as unary '&' operand
b[i]=0;
^
0_0_29283518_13379.cpp:13:9: error: lvalue required as unary '&' operand
b[i]=0;
^
0_0_29283518_13379.cpp:14:3: error: lvalue required as unary '&' operand
for(i=0;i<k;i++)
^
0_0_29283518_13379.cpp:14:9: error: lvalue required as unary '&' operand
for(i=0;i<k;i++)
^
0_0_29283518_13379.cpp:15:3: error: lvalue required as unary '&' operand
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:15:9: error: lvalue required as unary '&' operand
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:15:16: error: lvalue required as unary '&' operand
{ if(a[i]=='a')
^
0_0_29283518_13379.cpp:16:3: error: lvalue required as unary '&' operand
b[0]++;
^
0_0_29283518_13379.cpp:16:9: error: lvalue required as unary '&' operand
b[0]++;
^
0_0_29283518_13379.cpp:16:15: error: lvalue required as unary '&' operand
b[0]++;
^
0_0_29283518_13379.cpp:16:21: error: lvalue required as unary '&' operand
b[0]++;
^
0_0_29283518_13379.cpp:17:3: error: lvalue required as unary '&' operand
if(a[i]=='e')
^
0_0_29283518_13379.cpp:17:9: error: lvalue required as unary '&' operand
if(a[i]=='e')
^
0_0_29283518_13379.cpp:17:15: error: lvalue required as unary '&' operand
if(a[i]=='e')
^
0_0_29283518_13379.cpp:18:3: error: lvalue required as unary '&' operand
|