记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: error: expected primary-expression before ']' token
  Findmin(a[],n);
            ^
/in/foo.cc:11:15: error: 'Findmin' was not declared in this scope
  Findmin(a[],n);
               ^
/in/foo.cc: In function 'void Findmin(int*, int)':
/in/foo.cc:15:9: error: 't' does not name a type
 {static t=0;
         ^
/in/foo.cc:20:3: error: 't' was not declared in this scope
   t=a[i+1],a[i+1]=a[i],a[i]=t;
   ^
/in/foo.cc:22:23: error: 't' was not declared in this scope
  printf("min is %d\n",t);
                       ^

信息

递交者
类型
自测
语言
C++
递交时间
2019-04-21 19:34:20
评测时间
2019-04-21 19:34:20
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes