记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:11: warning: unused variable 'count' [-Wunused-variable]
     int n,count=100,g=0,t;
           ^~~~~
/in/foo.cc: In function 'int gethe(int)':
/in/foo.cc:41:17: error: 'n' was not declared in this scope
 {for( int i=m;i<n;i++)
                 ^
/in/foo.cc:42:3: error: 'count' was not declared in this scope
   count=100+2*s[i].k;
   ^~~~~
/in/foo.cc:42:15: error: 's' was not declared in this scope
   count=100+2*s[i].k;
               ^
/in/foo.cc:43:9: error: 'count' was not declared in this scope
  return count;
         ^~~~~

信息

递交者
类型
自测
题目
xk-4:摘果子
语言
C++
递交时间
2019-03-31 11:13:44
评测时间
2019-03-31 11:13:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes