修改后
#include <stdio.h>
#include <stdlib.h>
int main()
{
long a,b;
float x,y;
scanf("%d,%d",&a,&b);
scanf("%f,%f",&x,&y);
printf("a=%d,b=%d\n",a,b);
printf("x=%5f,y=%5f\n",x,y);
}