记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:5:7: warning: statement with no effect [-Wunused-value]
    5 |   n>=3&&n<=10000000;
      |   ~~~~^~~~~~~~~~~~~
/in/foo.c:7:12: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
    7 |   for(i=2,2<i<n,i++;)
      |           ~^~
/in/foo.c:7:10: warning: right-hand operand of comma expression has no effect [-Wunused-value]
    7 |   for(i=2,2<i<n,i++;)
      |          ^
/in/foo.c:7:21: error: expected expression before ')' token
    7 |   for(i=2,2<i<n,i++;)
      |                     ^
/in/foo.c:8:14: error: expected expression before '=' token
    8 |      { (n%i!==0)
      |              ^

信息

递交者
类型
自测
语言
C
递交时间
2025-11-13 15:38:26
评测时间
2025-11-13 15:38:26
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes