记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:9:10: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   for(n=2,i<n,i++){
          ^
/in/foo.c:9:18: error: expected ';' before ')' token
   for(n=2,i<n,i++){
                  ^
/in/foo.c:9:18: error: expected expression before ')' token
/in/foo.c:16:12: warning: format '%d' expects a matching 'int' argument [-Wformat=]
   printf("%d is a primer!\n");
            ^
/in/foo.c:18:14: warning: format '%d' expects a matching 'int' argument [-Wformat=]
     printf("%d is not a primer!\n");
              ^
/in/foo.c:19:1: error: expected declaration or statement at end of input
 }
 ^

信息

递交者
类型
自测
语言
C
递交时间
2024-11-01 17:18:53
评测时间
2024-11-01 17:18:53
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes