记录详情

Compile Error

/in/foo.c: In function 'main':
/in/foo.c:10:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(n==i)
   ^~
/in/foo.c:11:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   printf("%d",i);i is a primer!;
                  ^
/in/foo.c:11:18: warning: statement with no effect [-Wunused-value]
/in/foo.c:11:20: error: expected ';' before 'is'
   printf("%d",i);i is a primer!;
                    ^~
/in/foo.c:12:3: error: 'else' without a previous 'if'
   else
   ^~~~
/in/foo.c:13:18: warning: statement with no effect [-Wunused-value]
   printf("%d",i);i is not a primer!;
                  ^
/in/foo.c:13:20: error: expected ';' before 'is'
   printf("%d",i);i is not a primer!;
                    ^~
/in/foo.c:16:1: error: expected ';' before '}' token
 }
 ^

信息

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