记录详情

Compile Error

foo.c: In function ‘Prime’:
foo.c:6:19: error: ‘n’ undeclared (first use in this function)
    6 |         for(i=2;i<n;i++)
      |                   ^
foo.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
foo.c:13:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   13 |         if(i=num)
      |            ^

信息

递交者
类型
自测
语言
C
递交时间
2024-10-06 00:41:41
评测时间
2024-10-06 00:41:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes