#include <stdio.h>
int main()
{
    int Student_ID = 0;
    float score_C = 0.0,score_M = 0.0,score_E = 0.0;
    scanf("%d;%f,%f,%f",&Student_ID, &score_C, &score_M, &score_E);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", Student_ID,score_C,score_M,score_E);
    return 0;
}

//使用的是C语言
/*
#include<stdio.h>
int main()
{
    int a;
    float b,c,d;
    scanf("%d;%f,%f,%f",&a,&b,&c,&d);
     printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", a, b, c, d);
return 0;
}
*/

本题最大的坑在于打印格式,一个空格和字符位置都不能变,不要相信自己的眼睛,最好复制粘贴!!!