记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:16:2: error: unknown type name 'Section'; use 'struct' keyword to refer to the type
  Section section[100000];
  ^~~~~~~
  struct 
/in/foo.c:19:25: error: request for member 'u' in something not a structure or union
   scanf("%d",&section[i].u);
                         ^
/in/foo.c:20:25: error: request for member 'v' in something not a structure or union
   scanf("%d",&section[i].v);
                         ^
/in/foo.c:23:22: error: request for member 'u' in something not a structure or union
   answer(a,section[i].u,section[i].v);
                      ^
/in/foo.c:23:35: error: request for member 'v' in something not a structure or union
   answer(a,section[i].u,section[i].v);
                                   ^
/in/foo.c:16:10: warning: variable 'section' set but not used [-Wunused-but-set-variable]
  Section section[100000];
          ^~~~~~~

信息

递交者
类型
递交
题目
偷拍硕哥7
语言
C
递交时间
2018-12-11 07:19:39
评测时间
2018-12-11 07:19:39
评测机
分数
0
总耗时
27ms
峰值内存
18.508 MiB