求大神解决下
#include<stdio.h>int main()
{
int q,u,r,i,j;
int a[]={2,3,4};
char b[]={"甲","乙","丙"};
for(i=0;i<3;i++)
{
q=a[i];
u=i;
for(j=i+1;j<3;j++)
{
if(a[j]<q)
q=a[j];
u=j;
}
a[u]=a[i];
a[i]=q;
r=b[i];
b[i]=b[u];
b[u]=r;
}
for(i=0;i<3;i++)
{
printf("第%d名:b[%d],分数:a[%d]",i+1,i,i);
}
return 0;
}
main.cpp:7:6: error: stray '\357' in program
main.cpp:7:6: error: stray '\274' in program
main.cpp:7:6: error: stray '\214' in program
main.cpp:7:6: error: stray '\357' in program
main.cpp:7:6: error: stray '\274' in program
main.cpp:7:6: error: stray '\214' in program