记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:15: error: expected identifier or '(' before 'long'
  int a[100],n,long s,t,i;
               ^~~~
/in/foo.c:7:6: error: 'i' undeclared (first use in this function)
  for(i=0;i<n;i++)
      ^
/in/foo.c:7:6: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:2: error: 's' undeclared (first use in this function)
  s=a[0];
  ^
/in/foo.c:12:3: error: 't' undeclared (first use in this function)
   t=a[i+1];
   ^

信息

递交者
类型
递交
题目
5-4 最小公倍数
语言
C
递交时间
2019-01-08 15:58:11
评测时间
2019-01-08 15:58:11
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes