记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:11:2: error: unknown type name 'Student'; use 'struct' keyword to refer to the type
  Student ss[100000];
  ^~~~~~~
  struct 
/in/foo.c:15:23: error: request for member 'id' in something not a structure or union
   scanf("%d%d", &ss[i].id, &ss[i].score);
                       ^
/in/foo.c:15:34: error: request for member 'score' in something not a structure or union
   scanf("%d%d", &ss[i].id, &ss[i].score);
                                  ^
/in/foo.c:17:25: error: request for member 'id' in something not a structure or union
  printf("%d %d\n", ss[k].id, ss[k].score);
                         ^
/in/foo.c:17:35: error: request for member 'score' in something not a structure or union
  printf("%d %d\n", ss[k].id, ss[k].score);
                                   ^

信息

递交者
类型
递交
题目
2-1 比赛榜单
比赛
南师大2018年蓝桥杯热身赛
语言
C
递交时间
2018-12-12 16:10:46
评测时间
2018-12-12 16:10:46
评测机
分数
0
总耗时
13ms
峰值内存
3.039 MiB