#include <stdio.h>
#include <stdlib.h>
typedef struct Mark
{
unsigned short int Toan ;
unsigned short int Ly ;
unsigned short int Hoa ;
unsigned short int Anh ;
}Mark;
typedef struct SinhVien
{
unsigned short int age;
char name[21];
char msv[21];
Mark diem;
}SinhVien_Type;
void Nhap(SinhVien_Type* sv)
{
fgets(sv
->name
,21,stdin
); scanf("%hu",&(sv
->diem.
Toan)); scanf("%hu",&(sv
->diem.
Ly)); scanf("%hu",&(sv
->diem.
Hoa)); scanf("%hu",&(sv
->diem.
Anh)); }
void Xuat(SinhVien_Type sv)
{
printf("\n======OUT PUT=======\n");
}
int main()
{
SinhVien_Type sv1,sv2,sv3;
Nhap(&sv1);
Xuat(sv1);
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KdHlwZWRlZiBzdHJ1Y3QgTWFyawkKewoJdW5zaWduZWQgc2hvcnQgaW50IFRvYW4gOwoJdW5zaWduZWQgc2hvcnQgaW50IEx5ICAgOwoJdW5zaWduZWQgc2hvcnQgaW50IEhvYSAgOwoJdW5zaWduZWQgc2hvcnQgaW50IEFuaCAgOwp9TWFyazsKdHlwZWRlZiBzdHJ1Y3QgU2luaFZpZW4KewoJdW5zaWduZWQgc2hvcnQgaW50IGFnZTsKCWNoYXIgbmFtZVsyMV07CgljaGFyIG1zdlsyMV07CglNYXJrIGRpZW07Cn1TaW5oVmllbl9UeXBlOwoKdm9pZCBOaGFwKFNpbmhWaWVuX1R5cGUqIHN2KQp7CglzY2FuZigiJWh1IiwmKHN2LT5hZ2UpKTsKCWZmbHVzaChzdGRpbik7CglmZ2V0cyhzdi0+bmFtZSwyMSxzdGRpbik7CglmZ2V0cyhzdi0+bXN2LDIxLHN0ZGluKTsKCXNjYW5mKCIlaHUiLCYoc3YtPmRpZW0uVG9hbikpOwoJc2NhbmYoIiVodSIsJihzdi0+ZGllbS5MeSkpOwoJc2NhbmYoIiVodSIsJihzdi0+ZGllbS5Ib2EpKTsKCXNjYW5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