记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:23:17: error: 'r' undeclared (first use in this function)
  for(int m=0;m<=r;m++)
                 ^
/in/foo.c:23:17: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:23:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int m=0;m<=r;m++)
  ^~~
/in/foo.c:26:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   return 0;
   ^~~~~~
/in/foo.c:5:12: warning: unused variable 'k' [-Wunused-variable]
      int n,k=0,t;
            ^
/in/foo.c: In function 'pdss':
/in/foo.c:32:5: error: 'i' undeclared (first use in this function)
  if(i<n)
     ^

信息

递交者
类型
自测
题目
5-5 统计素数因子
语言
C
递交时间
2019-01-16 20:02:29
评测时间
2019-01-16 20:02:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes