记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:14:6: error: 'x1' undeclared (first use in this function)
  for(x1=0; x1<n; x1++)
      ^~
/in/foo.c:14:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:15:7: error: 'x2' undeclared (first use in this function)
   for(x2=0; x2<n; x2++)
       ^~
/in/foo.c:14:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(x1=0; x1<n; x1++)
  ^~~
/in/foo.c:45:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   int max=b[0];
   ^~~

信息

递交者
类型
递交
题目
(ty 1-6) 最大草场
比赛
2019-1-20寒假集训1
语言
C
递交时间
2019-01-20 10:38:29
评测时间
2019-01-20 10:38:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes